http://qs1969.pair.com?node_id=376683


in reply to Re: negative regex without !~
in thread negative regex without !~

There are many perl CGI and Tk programs that ask a user to enter regular expressions. If you are entering a regular expression in an entry box you typically cannot put '!~' on the front of it to negate it. I don't know if this is the kind of thing the original poster is talking about, but it seems like a very possible scenario

Replies are listed 'Best First'.
Re^3: negative regex without !~
by SpanishInquisition (Pilgrim) on Oct 11, 2004 at 16:32 UTC
    File::Repl has a function that takes a qr (or a string that will be eval'ed as a regex), for instance. If I want to make a zip of a directory containing all files that are not ending in ".obj" and also do not contain the string "super-secret-gamma-ray-gun", I can't do that with File::Repl and I have to post-match.