Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

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


in reply to Find all strings containing "a" characters, that are not followed by "b" characters.

No :)

A string is not a word, a string is a string ... so all your \b is bogus

simple solution  if( /a/ and not /a.*b/ ){ ... }

  • Comment on Re: Find all strings containing "a" characters, that are not followed by "b" characters.
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008541]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-01-23 01:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (190 votes). Check out past polls.