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
In reply to Re: Cisco Log Files: broken REGEX
by chromatic
in thread Cisco Log Files: broken REGEX
by blue_cowdawg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |