Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Common Regex Gotchasby Anonymous Monk |
on May 28, 2001 at 17:50 UTC ( [id://83726]=note: print w/replies, xml ) | Need Help?? |
under the section: ``Specifying too much''
you said:
$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 Section
Tutorials
|
|