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 $_?

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