diff options
author | Zher Huei Lee <lee.zh.92@gmail.com> | 2017-08-07 23:13:15 +0800 |
---|---|---|
committer | Zher Huei Lee <lee.zh.92@gmail.com> | 2017-08-19 19:29:14 +0800 |
commit | e3e2f063244804bb147418dc219ba6db8219304b (patch) | |
tree | 87257d17446d115f3a2f1ba5a11a6b1bd286420e /drivers/gl_context/context_gl.h | |
parent | bf1f83ed29a3cc2833a1ad7b5080b2d162ed0a88 (diff) |
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.
Diffstat (limited to 'drivers/gl_context/context_gl.h')
0 files changed, 0 insertions, 0 deletions