![]() |
|
Welcome to the Monastery | |
PerlMonks |
Comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
Good $localtime ikegami++ sir, I am actually dealing with an existing code base that uses POE::Wheel::FollowTail and checks each new log line against a list of pre-compiled regex patterns, hence the desire to do it in a single regex. When it finds a match it calls the forwarder method on the object that is associated with the matching pattern. Among other refs passed to the forwarding object is one to a list of matches from the regex normally saving having to split it up all over again. I do get a second bite at the cherry in the objects forwarder method. It would have been nice though after matching all those dates if I could just pass them all through already separated. Thanks for looking, at least I now know it is not me making a trivial error Cheers,
Pereant, qui ante nos nostra dixerunt!
In reply to Re^2: regex: extract multiple number of date patterns from certain lines
by Random_Walk
|
|