Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Find all strings containing "a" characters, that are not followed by "b" characters.

by johngg (Abbot)
on Dec 12, 2012 at 23:39 UTC ( #1008611=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -E '
    > say qq{$_ - @{ [ m{a(?!.*b)} ? q{Match} : q{No match} ] }} for (
    ...
    What a nice broom - No match
    Fishing for trout - No match
    $
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2014-10-01 17:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (30 votes), past polls