https://bugs.exim.org/show_bug.cgi?id=2307
Bug ID: 2307
Summary: Start anchor in condition without no-pattern
erroneously causes automatic anchoring
Product: PCRE
Version: 8.42
Hardware: x86
OS: Windows
Status: NEW
Severity: bug
Priority: medium
Component: Code
Assignee: ph10@???
Reporter: tattarakis@???
CC: pcre-dev@???
Hi Philip, I hope and trust all is well with you.
Just stumbled across the following:
Regex: (?(?=^))b
Subject: abc
Result: No match
When we add the superfluous no-pattern, it matches as expected:
Regex: (?(?=^)|)b
Subject: abc
Result: Match at [1,2]
Thanks, and stay well!
- John
--
You are receiving this mail because:
You are on the CC list for the bug.