Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Quick Regex trouble

by 2teez (Vicar)
on Jul 16, 2013 at 21:16 UTC ( [id://1044661]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ($var =~/(?<=use )neighbor[[:alpha:]-]* ([[:alnum:]\.-:]+)/) and do{
        print $1;
    };
    
  2. or download this
    Compiling REx `(?<!use )neighbor[[:alpha:]-]* ([[:alnum:]\.-:]+)'
    size 42 Got 340 bytes for offset annotations.
    ...
                                failed...
    Match failed
    Freeing REx: `"(?<!use )neighbor[[:alpha:]-]* ([[:alnum:]\\.-:]+)"'
    

Log In?
Username:
Password:

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

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

    No recent polls found