in reply to another regx Q

Just looking at the first line of the regex:

/^(\d+) (\d\d):(\d\d):(\d\d) (\d\d)-(\w+)-(\d{4}) (\d+) (\d+\s+\d+)

The spaces will be ignored with the /x modifier unless you escape them, or use the \s metacharacters.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.