diff options
author | Jakub Marcowski <chubercikbattle@gmail.com> | 2024-03-11 03:15:07 +0100 |
---|---|---|
committer | Jakub Marcowski <chubercikbattle@gmail.com> | 2024-03-11 11:42:02 +0100 |
commit | dab95993c6c8ebd4fb439385a892dabda22698a2 (patch) | |
tree | 98084c35eb94c5ab63c7be5d564251b3d18dc70d /thirdparty/pcre2/src/pcre2_find_bracket.c | |
parent | 810f127022ec2cbfb288e436151d1a777c7b5da7 (diff) | |
download | redot-engine-dab95993c6c8ebd4fb439385a892dabda22698a2.tar.gz |
pcre2: Update to 10.43
Diffstat (limited to 'thirdparty/pcre2/src/pcre2_find_bracket.c')
-rw-r--r-- | thirdparty/pcre2/src/pcre2_find_bracket.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/thirdparty/pcre2/src/pcre2_find_bracket.c b/thirdparty/pcre2/src/pcre2_find_bracket.c index 70baa1394f..1290c5e9de 100644 --- a/thirdparty/pcre2/src/pcre2_find_bracket.c +++ b/thirdparty/pcre2/src/pcre2_find_bracket.c @@ -7,7 +7,7 @@ and semantics are as close as possible to those of the Perl 5 language. Written by Philip Hazel Original API code Copyright (c) 1997-2012 University of Cambridge - New API code Copyright (c) 2016-2018 University of Cambridge + New API code Copyright (c) 2016-2023 University of Cambridge ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without @@ -41,9 +41,9 @@ POSSIBILITY OF SUCH DAMAGE. /* This module contains a single function that scans through a compiled pattern until it finds a capturing bracket with the given number, or, if the number is -negative, an instance of OP_REVERSE for a lookbehind. The function is called -from pcre2_compile.c and also from pcre2_study.c when finding the minimum -matching length. */ +negative, an instance of OP_REVERSE or OP_VREVERSE for a lookbehind. The +function is called from pcre2_compile.c and also from pcre2_study.c when +finding the minimum matching length. */ #ifdef HAVE_CONFIG_H @@ -85,7 +85,7 @@ for (;;) /* Handle lookbehind */ - else if (c == OP_REVERSE) + else if (c == OP_REVERSE || c == OP_VREVERSE) { if (number < 0) return (PCRE2_UCHAR *)code; code += PRIV(OP_lengths)[c]; |