From 470370f98ec277fed819a388af5b64c25619eeac Mon Sep 17 00:00:00 2001 From: ph10 Date: Wed, 1 Jan 2020 12:07:02 +0000 Subject: Allow real repetition of assertions. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1202 6239d852-aaf2-0410-a92c-79f79f948069 --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 84d7e44..78bcc0f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -32,6 +32,13 @@ now correctly backtracked, so this unnecessary restriction has been removed. regex engine. The Perl regex folks are aware of this usage and have made a note about it. +9. When an assertion is repeated, PCRE2 used to limit the maximum repetition to +1, believing that repeating an assertion is pointless. However, if a positive +assertion contains capturing groups, repetition can be useful. In any case, an +assertion could always be wrapped in a repeated group. The only restriction +that is now imposed is that an unlimited maximum is changed to one more than +the minimum. + Version 10.34 21-November-2019 ------------------------------ -- cgit v1.2.1