Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Log regexp

by DamianConway (Beadle)
on Aug 03, 2012 at 21:52 UTC ( #985357=note: print w/replies, xml ) Need Help??

in reply to Log regexp

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.


Replies are listed 'Best First'.
Re^2: Log regexp
by kazak (Beadle) on Aug 06, 2012 at 09:21 UTC
    Thx I fixed it.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2016-10-23 02:18 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (300 votes). Check out past polls.