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

some regex help

by emilford (Friar)
on Apr 05, 2004 at 21:36 UTC ( #342759=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Managed Node XYZ123 = MN
    Type = Combo
    Rim = Planner
    
  2. or download this
    my $options = 'A|B|C|D';
    if ($line =~ /^Managed Node ([a-zA-Z0-9_-])\s*=\s*($options)/i) {
         my ($node, $value) = ($1, $2);
    }
    
  3. or download this
    if ($line =~ /^(\w*)\s*=\s*(\w*)/);
    
  4. or download this
    if ($line =~ /%(.*)\s*=\s*(.*)/);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2022-01-19 10:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (55 votes). Check out past polls.

    Notices?