This however, does not return any results whatsoever now. I split it into three individual componets because I wanted to see if the engine will match that way. No go.$MType =~ s/\s+//g; if ($MType =~ /^(?:-41)$/i || $MType =~ /^(?:-55)$/i || $MType =~ /^(?:-jj)$/i) { print "\"red\""; } else { print "\"#CCFFCC\""; }
In reply to Re: Regexp experts, come to rescue!
by bman
in thread Regexp experts, come to rescue!
by bman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |