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

Page principale
Supprimer ce message
Auteur: ND
Date:  
À: Pcre-dev
Nouveaux-sujets: [pcre-dev] Support for (*MARK)
Sujet: [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