Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Pimp My RegEx

by heathen (Acolyte)
on May 31, 2005 at 20:30 UTC ( [id://462216]=note: print w/replies, xml ) Need Help??


in reply to Re: Pimp My RegEx
in thread Pimp My RegEx

You would use the substr expression above to access what you're currently capturing, though you don't indicate that what you're capturing is actually used at all.

I made a grossly simplified version of my script to share with the forum. Posting the script in its entirety would have just bored folks to tears! ...but rest assured, I am doing something with the captured text.
I'm not sure your solution will work for log entries that span multiple lines.

Replies are listed 'Best First'.
Re^3: Pimp My RegEx
by Roy Johnson (Monsignor) on May 31, 2005 at 20:35 UTC
    I'm not sure your solution will work for log entries that span multiple lines.
    Why not?

    Caution: Contents may have been coded under pressure.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-03-19 07:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found