Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 meditating upon the Monastery: (6)
As of 2017-02-19 15:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (292 votes). Check out past polls.