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

Thanks for the help, this is what I was trying to do. Works great, and it makes sense that the '?!' (whabang?) is at the start of the alternation.
  • Comment on Re^2: Negative expressions with alternation in ProxyRemoteMatch

Replies are listed 'Best First'.
Re^3: Negative expressions with alternation in ProxyRemoteMatch
by Roger (Parson) on Aug 30, 2005 at 08:58 UTC
    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)$/