Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Log regexpby DamianConway (Beadle) |
on Aug 03, 2012 at 21:52 UTC ( [id://985357]=note: print w/replies, xml ) | Need Help?? |
If you're using Perl 5.10.1 or later,
you may also find Regexp::Debugger
useful for understanding where your regex
isn't behaving as you expect.
In this case, the module took about 2 seconds to
show me that:
in your regex (which is supposed to match the timezone within the timestamp) is failing to match the leading space of: in your actual string. Damian
In Section
Seekers of Perl Wisdom
|
|