mirror of
https://github.com/godotengine/godot.git
synced 2024-12-06 19:12:20 +00:00
e3e2f06324
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.
37 lines
728 B
Plaintext
37 lines
728 B
Plaintext
THE MAIN PCRE2 LIBRARY CODE
|
|
---------------------------
|
|
|
|
Written by: Philip Hazel
|
|
Email local part: ph10
|
|
Email domain: cam.ac.uk
|
|
|
|
University of Cambridge Computing Service,
|
|
Cambridge, England.
|
|
|
|
Copyright (c) 1997-2017 University of Cambridge
|
|
All rights reserved
|
|
|
|
|
|
PCRE2 JUST-IN-TIME COMPILATION SUPPORT
|
|
--------------------------------------
|
|
|
|
Written by: Zoltan Herczeg
|
|
Email local part: hzmester
|
|
Emain domain: freemail.hu
|
|
|
|
Copyright(c) 2010-2017 Zoltan Herczeg
|
|
All rights reserved.
|
|
|
|
|
|
STACK-LESS JUST-IN-TIME COMPILER
|
|
--------------------------------
|
|
|
|
Written by: Zoltan Herczeg
|
|
Email local part: hzmester
|
|
Emain domain: freemail.hu
|
|
|
|
Copyright(c) 2009-2017 Zoltan Herczeg
|
|
All rights reserved.
|
|
|
|
####
|