go ahead... be a heretic | |
PerlMonks |
Re^5: Simple regexp questionby SamCG (Hermit) |
on Mar 31, 2006 at 17:07 UTC ( [id://540504]=note: print w/replies, xml ) | Need Help?? |
I'd add
perl -e "print (';' =~ /[];]/ ?'match':'nomatch');" prints "match" the ] is also depending on position update: fixed typo
In Section
Seekers of Perl Wisdom
|
|