http://www.perlmonks.org?node_id=985357


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:
\+(\d{4})
in your regex (which is supposed to match the timezone within the timestamp) is failing to match the leading space of:
<SPACE>+0200
in your actual string.

Damian