|Syntactic Confectionery Delight|
positive regex for inverted matchby kgimpel (Acolyte)
|on Feb 26, 2004 at 06:08 UTC||Need Help??|
kgimpel has asked for the wisdom of the Perl Monks concerning the following question:
I am passing a positive regex as a string argument to another function, and I'd only like to match on lines that don't contain "bar."
INPUT looks like this:
MATCHES should be:
So, I effectively want to do this
Thanks in advance.