[pcre-dev] (*ACCEPT) in atomic group

Startseite
Nachricht löschen
Autor: ND
Datum:  
To: Pcre-dev
Neue Treads: [pcre-dev] Support for (*MARK)
Betreff: [pcre-dev] (*ACCEPT) in atomic group

Hi, Philip!

PCRE 8.0

Subject: (?>.(*ACCEPT))*?5
Pattern: 2
Match: PCRE_ERROR_NOMATCH
Expected: 2

if Subject isn't atomic group then result is equal to expected:

Subject: (.(*ACCEPT))*?5
Pattern: 2
Match: 2

Why?

Thanx,
Michael