Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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??

Help for this page

Select Code to Download


  1. or download this
    if ( m|/user/(?!prot/)| )
    
  2. or download this
    #!/usr/local/bin/perl5.6.0 -w
    use strict;
    ...
    /user/protrusions/
    /user/a/
    /user/backups
    
  3. or download this
    <LocationMatch  /user/(?!prot/) >
       <Limit GET>
    ...
        </Limit>
        AllowOverride None
    </LocationMatch>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://302719]
Front-paged by broquaint
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-23 14:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found