Re: [pcre-dev] Ungreedy quantification in atomic groups

Αρχική Σελίδα
Delete this message
Συντάκτης: Sheri
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: Re: [pcre-dev] Ungreedy quantification in atomic groups
Sheri wrote:
> Is there any performance benefit to using an atomic group that includes
> alternates with ungreedy quantification, e.g., something like this?
>
> (?>\\\\|\\t|\\Q.+?\\E|\\$(?:U|u|L|l|T|t)?\\d{1,3})
>
> Or would it be just as well (or better) to omit the (?>
>
> Thanks,
> Sheri
>
>
>

Hi Philip, any idea on this?

Regards,
Sheri