aboutsummaryrefslogtreecommitdiff
path: root/drivers/nrex/regex.h
Commit message (Collapse)AuthorAgeFilesLines
* RegEx re-implemented as a moduleZher Huei Lee2016-10-271-65/+0
| | | | | | | | | | Re-wrote nrex as a module using godot-specific parts and new features: * Added string substitutions. * Named groups are now supported. * Removed use of mutable variables in RegEx. RegExMatch is returned instead.
* Add missing license headers in our source files (#5255)Rémi Verschelde2016-06-181-11/+28
| | | Also removes a couple wrong Godot headers from third-party source files.
* Added RegEx::get_capture_start() methodJulian Murgia - StraToN2016-02-121-0/+1
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* updated the RegEx library nrex to v0.1Zher Huei Lee2015-12-041-1/+1
| | | | | | | | | | | | | | | | | | After implementing unit testing to nrex I caught and fixed some errors so it should behave more like Python's RegEx In addition, I've added version numbering so it should be able to tell if the library needs updating. Here are a list of changes: - Fixed zero count quantifiers failing. - Fixed infinite recursion if quantifying zero length token. - Fixed `$` (as a string pattern on its own) not matching. - Fixed look behind rewinding beyond the start of the string. - Added support for alternative back reference format `\g{1}` similar to Python. This allows digits to be used immediately after back references. - Number of capture groups are still limited to 9 by default but can now be manually set, with option for no limit at all. (Python has no limit) - Curly bracket quantifiers `{0}` no longer interpreted as a literal string if previous token is not quantifiable. (Python behaviour)
* Exposed RegEx expanded option to scriptsZher Huei Lee2015-11-071-1/+1
|
* Made RegEx API similar to old versionZher Huei Lee2015-07-241-2/+2
|
* Regex library Nrex initial portLee Zher Huei2015-07-241-0/+47