Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^5: Simple regexp question

by SamCG (Hermit)
on Mar 31, 2006 at 17:07 UTC ( #540504=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://540504]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2023-02-08 19:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (43 votes). Check out past polls.

    Notices?