Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Negative Lookahead using negated character classes?by Wonko the sane (Deacon) |
on Oct 28, 2003 at 16:50 UTC ( [id://302719]=perlquestion: print w/replies, xml ) | Need Help?? |
Wonko the sane has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
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. Wonko
Back to
Seekers of Perl Wisdom
|
|