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


in reply to Negating Regexes: Tips, Tools, And Tricks Of The Trade

This is discussed in the Perl Cookbook recipe 6.18 "Expressing AND, OR, and NOT in a Single Pattern".

  • Comment on Re: Negating Regexes: Tips, Tools, And Tricks Of The Trade

Replies are listed 'Best First'.
Re: Negating Regexes: Tips, Tools, And Tricks Of The Trade
by Anonymous Monk on Oct 12, 2011 at 20:05 UTC
    FYI: My 1999 revised First edition has it as recipe 6.17.