|
In a message dated 9/13/2005 9:00:32 A.M. Eastern Standard Time,
[EMAIL PROTECTED] writes:
> As regards the parens, should I not use them? I thought they were
needed for the OR-ed
> possible values--was I mistaken in this?
deane --
no, the parens are needed for grouping, otherwise the ^ and $ zero-width
assertions ``bind'' only to the first and last, respectively, of the
alternations. what i had in mind was that capturing was not
needed, so using the faster, non-capturing (?:a|b|c) version of
parens would be preferable (although the actual speed advantage might well be
nugatory).
bill walters
|
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
