|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: Common Regex Gotchasby Anonymous Monk |
| on May 28, 2001 at 17:50 UTC ( #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
|
|
||||||||||||||||||||||