diff --git a/src/pcre2_compile.c b/src/pcre2_compile.c index 83099cf..9d5e9c9 100644 --- a/src/pcre2_compile.c +++ b/src/pcre2_compile.c @@ -285,7 +285,7 @@ versions. */ #define META_LAST_QUANTIFIER META_MINMAX_QUERY /* This is a special "meta code" that is used only to distinguish (*asr: from -(*sr in the table of aphabetic assertions. It is never stored in the parsed +(*sr: in the table of aphabetic assertions. It is never stored in the parsed pattern because (*asr: is turned into (*sr:(*atomic: at that stage. There is therefore no need for it to have a length entry, so use a high value. */ @@ -7467,9 +7467,8 @@ for (;; pptr++) scanned and these numbers are replaced by offsets within the pattern. It is done like this to avoid problems with forward references and adjusting offsets when groups are duplicated and moved (as discovered in previous - implementations). Note that a recursion does not have a set first character - (relevant if it is repeated, because it will then be wrapped with ONCE - brackets). */ + implementations). Note that a recursion does not have a set first + character. */ case META_RECURSE: GETPLUSOFFSET(offset, pptr); diff --git a/src/pcre2_jit_match.c b/src/pcre2_jit_match.c index 87c42ad..eee0386 100644 --- a/src/pcre2_jit_match.c +++ b/src/pcre2_jit_match.c @@ -152,8 +152,6 @@ else jit_stack = NULL; } -/* JIT only need two offsets for each ovector entry. Hence - the last 1/3 of the ovector will never be touched. */ max_oveccount = functions->top_bracket; if (oveccount > max_oveccount)