Not tested this but:
- Used i to indicate case insensitivity.
- AFAIK special chars don't need \ in character classes.
- Used x to allow for new lines in regex to aid readability.
- Used ? in .+ match to make it parsimonius.
- Used \d instead of 0-9, it means the same thing.
$_[0] =~ m/([A-Z\d_/.,-]+)
\s*\t*
(.+?)
\s*\t*
([\d.]+)
\t*
([\d.]+)*/ix;
--
Brother Frankus.
¤