Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: On zero-width negative lookahead assertions

by antirice (Priest)
on Sep 10, 2004 at 15:16 UTC ( [id://390109]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    > perl -l
    $,=$/;
    ...
    wrong:
    (?-xism:a)
    (?-xism:a\\\@b)
    
  2. or download this
    > perl -l
    $_='root: admin@somewhere.here';
    ...
    __END__
    (root:)()
    Postmatch contained " admin@somewhere.here"
    
  3. or download this
    Hardcoded:
    /^root:(?!\s*admin\@somewhere\.here)/
    ...
    Variable:
    my $admin_email = 'admin@somewhere.here';
    /^root:(?!\s*\Q$admin_email\E)/
    

Log In?
Username:
Password:

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

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

    No recent polls found