$line =~ /^\w*: \w*\s*\w*, \w*: \w*, \w+: (\d)*, \w*: \w*$";
This ends the regexp with a `"' and starts it with `/`. you could do m"..." or /.../ .
In reply to Re: Common Regex Gotchas
by Anonymous Monk
in thread Common Regex Gotchas
by chromatic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |