Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by bart (Canon)
on Dec 12, 2012 at 17:59 UTC ( #1008540=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    /a(?!b)/
    
  2. or download this
    /a\b|a[^b]/
    
  3. or download this
    /a(\b|[^b])/
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (19)
As of 2014-12-18 13:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (51 votes), past polls