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


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

No :)

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

Replies are listed 'Best First'.
Re^3: Find all strings containing "a" characters, that are not followed by "b" characters.
by Kyshtynbai (Sexton) on Dec 12, 2012 at 19:40 UTC
    If only I'd knew that logic operators like "and" would work with regular expressions! In my Lama book (5th edition) it is written, that they actualy DO NOT work with regexps (or something has messed up in my head :). I'll check it tomorrow, now gonna sleep). Thank you everyone, guys!

      Well, // is m//, the match operator, it is not a regexp :)

      "logical and" works with m//atch operator, not regexp