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

Top Page
Delete this message
Author: ND
Date:  
To: Pcre-dev
New-Topics: [pcre-dev] Support for (*MARK)
Subject: [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