in reply to Re^4: Simple regexp question
in thread Simple regexp question
I'd add
perl -e "print (';' =~ /[];]/ ?'match':'nomatch');" prints "match"
the ] is also depending on position
update: fixed typo
perl -e "print (';' =~ /[];]/ ?'match':'nomatch');" prints "match"
the ] is also depending on position
update: fixed typo
|
---|
In Section
Seekers of Perl Wisdom