Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: RegEx: How to negate more than one character?

by shigetsu (Hermit)
on Mar 25, 2007 at 23:07 UTC ( [id://606497]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $re = qr/(?:a|b)h/;
    
    print 'abcdef' !~ $re;
    print 'ahcdef' !~ $re;
    print 'abbhef  !~ $re;
    
  2. or download this
    1
    (0)
    (0)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-20 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found