http://www.perlmonks.org?node_id=1008541


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