https://bugs.exim.org/show_bug.cgi?id=2725
Bug ID: 2725
Summary: (*SKIP)(*F) within a (?(DEFINE)) does not skip
position
Product: PCRE
Version: 10.36 (PCRE2)
Hardware: x86
OS: Windows
Status: NEW
Severity: bug
Priority: medium
Component: Code
Assignee: Philip.Hazel@???
Reporter: c_moi_l_master@???
CC: pcre-dev@???
String(without backticks): `"key": { "k1":"v1", "k2":"v2" }`
Pattern1: /(?<Value>"[^"]*":(*SKIP)(*F)|"[^"]*")/g
Pattern2: /(?&Value)(?(DEFINE)(?<Value>"[^"]*":(*SKIP)(*F)|"[^"]*"))/g
Pattern1 works, Pattern2 does not work in PCRE2, works as expected in perl
--
You are receiving this mail because:
You are on the CC list for the bug.