|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: Common Regex Gotchasby Anonymous Monk |
| on May 28, 2001 at 13:50 UTC ( [id://83726]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||||||