in reply to
Parenthesis usage in Regular Expressions
You use parens in a regular expression in the same way you need parens in
(2+3)*4
in math... it's to handle precedence rules when they are not in the order you need.
--
Randal L. Schwartz, Perl hacker
Comment on
•Re: Regular Expressions
In Section
Seekers of Perl Wisdom