Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Regex confusion

by MarkusLaker (Beadle)
on Dec 24, 2004 at 21:54 UTC ( [id://417361]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ^int\s+(\w+)\s*
    (?:^\s*Number\sof\sFlaps:\s(\d+)\s*)?
    (?:^\s*IP\sAddress:?\s(\S*)\s*)?
    
  2. or download this
    int A
        Number of Flaps: 6
        IP Address: 2.2.2.2
    
  3. or download this
    ^int\s+(\w+)\s*\n
    (?:^\s*Number\sof\sFlaps:\s(\d+)\s*\n)?
    (?:^\s*IP\sAddress:?\s(\S*)\s*\n)?
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-18 12:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found