Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Negative expressions with alternation in ProxyRemoteMatch

by Roger (Parson)
on Aug 30, 2005 at 08:58 UTC ( #487674=note: print w/replies, xml ) Need Help??


in reply to Re^2: Negative expressions with alternation in ProxyRemoteMatch
in thread Negative expressions with alternation in ProxyRemoteMatch

An alternative is to use negative look behind... Your code was actually negative look ahead. To look behind, you need the < directive.

/(?<!\.gif)(?<!\.jpg)(?<!\.jpeg)$/

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://487674]
help
Chatterbox?
and monks are getting baked in the sun...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-05-23 04:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?