Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 the web crawler heard nothing...

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







    Results (526 votes). Check out past polls.