Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 taking refuge in the Monastery: (7)
As of 2016-08-25 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (363 votes). Check out past polls.