diff --git a/ChangeLog b/ChangeLog index 9f493be..95e0123 100644 --- a/ChangeLog +++ b/ChangeLog @@ -77,6 +77,11 @@ low surrogate. This caused incorrect behaviour, for example when PCRE2_MATCH_INVALID_UTF was set and a match started immediately following the invalid high surrogate, such as /aa/ matching "\x{d800}aa". +20. If a DEFINE group immediately preceded a lookbehind assertion, the pattern +could be mis-compiled and therefore not match correctly. This is the example +that found this: /(?(DEFINE)(?bar))(?bar))(?bar))(?