Conversation
Notices
-
@mcscx@quitter.se (mcscx@quitter.se)'s status on Tuesday, 26-Dec-2017 10:41:10 UTC @mcscx@quitter.se Example for #RegExp in !bash:
$ x=d; [[ $x =~ [abc] ]] && echo yes || echo no
no
$ x=c; [[ $x =~ [abc] ]] && echo yes || echo no
yes