1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Revert "pcre2: Update to upstream version 10.42"

This reverts commit 62c3e4ab9c.

Needs more work, see comments about `_regex_free` errors in #70447.
This commit is contained in:
Rémi Verschelde
2022-12-23 11:29:11 +01:00
parent 1cab6c91e9
commit d0398f62f0
41 changed files with 5475 additions and 9943 deletions

View File

@@ -183,8 +183,6 @@ restart:;
#endif
#if defined(FFCPS)
if (str_ptr >= str_end)
return NULL;
sljit_u8 *p1 = str_ptr - diff;
#endif
sljit_s32 align_offset = ((uint64_t)str_ptr & 0xf);
@@ -329,7 +327,7 @@ match:;
return NULL;
#if defined(FF_UTF)
if (utf_continue((PCRE2_SPTR)str_ptr - offs1))
if (utf_continue(str_ptr + IN_UCHARS(-offs1)))
{
/* Not a match. */
str_ptr += IN_UCHARS(1);