in reply to Cisco Log Files: broken REGEX

What's glaringly obvious is that it could be more maintainable. Breaking it into separate parts could help.

my $timestamp = qr/[A-Z][a-z]+\s+\d+\s+\d+\:\d+\:\d+/; my $address = qr/[\.\d]+/; my $id = qr/\d+/; my $timezone = qr/[A-Z]+:/; # and so on