I'm pretty sure it still matters.

On Wed, Jun 17, 2009 at 19:16, Theo Van Dinter<felic...@apache.org> wrote:
> Yes, it matters (one path is tried then the other has to be tried, as
> opposed to having a single path), though the overall amount is
> probably negligible.  Perl's RE compiler could well optimize this away
> anyway.
>
>
> On Wed, Jun 17, 2009 at 7:45 PM, Kelson<kel...@speed.net> wrote:
>> Wouldn't it be more efficient to write all the single-letter matches like
>> "(?:s|z)?" as "[sz]?" or does it end up not making a difference when the
>> regex is actually processed?
>
>

Reply via email to