Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by gube (Parson)
on Mar 26, 2007 at 00:56 UTC ( #606506=note: print w/ replies, xml ) Need Help??


in reply to RegEx: How to negate more than one character?

Hi,

#!/usr/local/bin/perl use strict; use warnings; my $match = "sfajdsllllllllllbhafdssss"; print "Yes...Working.." if ($match !~ m#(ah|bh)#gi);


Comment on Re: RegEx: How to negate more than one character?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2014-09-02 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (20 votes), past polls