summaryrefslogtreecommitdiffstats
path: root/thirdparty/pcre2/src/pcre2_error.c
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-03-11 14:02:39 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-03-11 14:02:39 +0100
commita2edcf83abb8fec7df11056a0d0ca423a3efee25 (patch)
tree901efdea6310996e379b7c5c6732269fb046a856 /thirdparty/pcre2/src/pcre2_error.c
parentbefc738b44fc05249cb81ee6563a44533bbea3c4 (diff)
parentdab95993c6c8ebd4fb439385a892dabda22698a2 (diff)
downloadredot-engine-a2edcf83abb8fec7df11056a0d0ca423a3efee25.tar.gz
Merge pull request #89371 from Chubercik/pcre2-10.43
pcre2: Update to 10.43
Diffstat (limited to 'thirdparty/pcre2/src/pcre2_error.c')
-rw-r--r--thirdparty/pcre2/src/pcre2_error.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/thirdparty/pcre2/src/pcre2_error.c b/thirdparty/pcre2/src/pcre2_error.c
index 09904c03e3..1569f6315f 100644
--- a/thirdparty/pcre2/src/pcre2_error.c
+++ b/thirdparty/pcre2/src/pcre2_error.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-2021 University of Cambridge
+ New API code Copyright (c) 2016-2023 University of Cambridge
-----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
@@ -82,7 +82,7 @@ static const unsigned char compile_error_texts[] =
"missing closing parenthesis\0"
/* 15 */
"reference to non-existent subpattern\0"
- "pattern passed as NULL\0"
+ "pattern passed as NULL with non-zero length\0"
"unrecognised compile-time option bit(s)\0"
"missing ) after (?# comment\0"
"parentheses are too deeply nested\0"
@@ -93,7 +93,7 @@ static const unsigned char compile_error_texts[] =
"internal error: code overflow\0"
"missing closing parenthesis for condition\0"
/* 25 */
- "lookbehind assertion is not fixed length\0"
+ "length of lookbehind assertion is not limited\0"
"a relative value of zero is not allowed\0"
"conditional subpattern contains more than two branches\0"
"assertion expected after (?( or (?(?C)\0"
@@ -187,6 +187,8 @@ static const unsigned char compile_error_texts[] =
"too many capturing groups (maximum 65535)\0"
"atomic assertion expected after (?( or (?(?C)\0"
"\\K is not allowed in lookarounds (but see PCRE2_EXTRA_ALLOW_LOOKAROUND_BSK)\0"
+ /* 100 */
+ "branch too long in variable-length lookbehind assertion\0"
;
/* Match-time and UTF error texts are in the same format. */
@@ -272,6 +274,7 @@ static const unsigned char match_error_texts[] =
/* 65 */
"internal error - duplicate substitution match\0"
"PCRE2_MATCH_INVALID_UTF is not supported for DFA matching\0"
+ "INTERNAL ERROR: invalid substring offset\0"
;