Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2017-08-18 18:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (307 votes). Check out past polls.

    Notices?