You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Replacement of internal RegEx with PCRE2
The pattern and replacement matching behaviour has been changed purely due to the nature of switching to a standards-compliant library. One mistake in the previous behaviour was that named groups didn't have a number. This has been corrected. As names are actually just an alias of numbered groups, RegExMatch::get_name_dict() is now get_names() and is a dict referring to the group number it represents. Duplicate names are enabled and the with the first matching instance used. Due the lack of a suitable equivalent in PCRE2, RegExMatch::expand() was removed.
This commit is contained in:
1940
thirdparty/pcre2/src/pcre2_internal.h
vendored
Normal file
1940
thirdparty/pcre2/src/pcre2_internal.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user