Auteur: Philip Hazel Date: À: ND CC: Pcre-dev Sujet: Re: [pcre-dev] (*COMMIT), (*THEN) and an atomic groups
On Sun, 27 Jun 2010, ND wrote:
> PCRE 8.02
>
> Subject: yes
> Pattern: (?>(*COMMIT)(?>yes|no)(*THEN)(*F))?
> Match: <empty string>
>
> If any of two atomic groups became non-atomic, for example
> Pattern: (?>(*COMMIT)(?:yes|no)(*THEN)(*F))?
> then there is no match
> Match: RegEx error - PCRE_ERROR_NOMATCH
I have confirmed that this is the same with 8.10, but I don't have time
to investigate further just at the moment. I have put this on my PCRE
work list.