in reply to
Re: Re: regex question
in thread
regex question
This will shoot in a little different direction, but I was wondering about the '?:'. dosen't that just keep the match from being placed into $_?
Comment on
Re: Re: Re: regex question
Replies are listed 'Best First'.
Re: Re: Re: Re: regex question
by
zigdon
(Deacon)
on Sep 24, 2002 at 18:14 UTC
(?:...)
means that the paren are only used to group, but not to save the match in $1. No real difference, except it's supposed to be faster.
See
perlre
for more info.
-- Dan
[reply]
[d/l]
In Section
Seekers of Perl Wisdom