Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: On zero-width negative lookahead assertions

by pbeckingham (Parson)
on Sep 10, 2004 at 14:14 UTC ( #390078=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      perl -ne '/^root:\s*/ and $_ !~ /admin\@somewhere\.here/ and print' 
    +alias
    
  2. or download this
      perl -ne '/^root:(?!\s*admin\@somewhere\.here)/ and print' alias
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://390078]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2022-05-22 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (78 votes). Check out past polls.

    Notices?