|Syntactic Confectionery Delight|
Negative Lookahead using negated character classes?by Wonko the sane (Deacon)
|on Oct 28, 2003 at 16:50 UTC||Need Help??|
Wonko the sane has asked for the
wisdom of the Perl Monks concerning the following question:
Here is what I am trying to do.
The problem is I cannot use negative lookahead to do it.
To do this, I have tried the following variations with no success.
The only one that I want to print "Allowed", (not to match) is the first one "/user/prot/".
OT: Why cant I use negative lookahead?
Actually because I am trying to make a regex for an Apache LocationMatch section,
Any help is much appreciated.