<snip> elsif ( $fs =~ /^(?i)\/data\w+$/ || /^(?i)\/tmp\w+$/ ) { print "YIKES, my mother-in-law is here\n"; } ### I also tried $fs =~ /^(\/data\w+|\/tmp\w+)$/i ) ###
In reply to YAREGEX for all by mikejones
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |