Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

if regex bash


#ensure there are no quotes arround the regex
if [[ "${DOMAINS}" =~ *..+ ]]; then ...
 
PREVIOUS NEXT
Tagged: #regex #bash
ADD COMMENT
Topic
Name
2+6 =