Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Negative expressions with alternation in ProxyRemoteMatch

by Roger (Parson)
on Aug 30, 2005 at 08:58 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://487674]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-24 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found