Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: negative regex without !~

by fletcher_the_dog (Friar)
on Jul 22, 2004 at 18:58 UTC ( #376683=note: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://376683]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2022-08-08 05:14 GMT
Find Nodes?
    Voting Booth?

    No recent polls found