bash "=~" example
$ [[ 45 =~ [0-9]+ ]] && echo "45 contains digits"
45 contains digits
$ [[ "hello" =~ [0-9]+ ]] && echo "hello doesnt contains digits"
$ [[ "hello" =~ [a-z]+ ]] && echo "hello contains alphabets"
hello contains alphabets
Also in C++:
- rails reset gemfile.lock
- git set description branch
- desinstalar paquetes ubuntu
- bluetooth xubuntu activate linux
- swapping of two numbers without using third variable in shell script
- powershell environment variables set
- git change branch name
- change git username and email
- no source map sass
- deploy docker on digital ocean
- how to install zip file in linux
- configure apache in ubuntu
- awk how to remove lines in one file that are found in another file
- github dns
- debian install node js
- how to pull git repository from github
- expo install in ubuntu
- change master to main git
- terminal download manager command line
- install yacc on ubuntu
- add spacer to dock macos
- ls line by line terminal
- canonicalgrouplimited.ubuntu on windows parameter is incorrect
- install vinagre ubuntu