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

Góra strony
Delete this message
Autor: ND
Data:  
Dla: Pcre-dev
Nowe tematy: [pcre-dev] Support for (*MARK)
Temat: [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