|
|
| Welcome to the Monastery | |
| PerlMonks |
Re^4: regex testing for multiple valuesby Errto (Vicar) |
| on Mar 10, 2008 at 21:49 UTC ( #673363=note: print w/ replies, xml ) | Need Help?? |
|
Right idea, wrong bolding. It's misleading on the OP's part,but that quoted statement is not a syntax error. The trailing slash closes the regex and the right paren properly terminates the if clause. The right paren is not matching the left brace - that left brace is part of the regex and is treated as a literal.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||