Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Negating Regexes: Tips, Tools, And Tricks Of The Trade

by Limbic~Region (Chancellor)
on Dec 07, 2006 at 13:47 UTC ( #588315=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $mech->find_all_links(text_regex => qr/download/i);
    
  2. or download this
    /\d/         # contains a digit
    /^\D*$/      # doesn't contain a digit
    ...
    
    /foo|bar/    # contains foo or bar
    ???          # doesn't contain foo or bar
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://588315]
Approved by marto
Front-paged by andyford
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2016-09-28 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (540 votes). Check out past polls.