aboutsummaryrefslogtreecommitdiff
path: root/drivers/nrex/nrex.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed zero-length arrays in nrex. Fixes #4346Zher Huei Lee2016-04-271-4/+10
| | | | (cherry picked from commit 48b2dfab9f91bec2fd9a0fc94630e2dae51fbf11)
* Updated nrex to v0.2Zher Huei Lee2016-04-271-38/+93
| | | | | | | | * Fixed capturing groups matching to invalid results * Fixed parents of recursive quantifiers not expanding properly * Fixed LookAhead sometimes adding to result (cherry picked from commit 6207d56b958ddc288d0b7f80e057ff93fc011280)
* updated the RegEx library nrex to v0.1Zher Huei Lee2015-12-041-34/+67
| | | | | | | | | | | | | | | | | | 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)
* Updated nrex to latest versionZher Huei Lee2015-11-071-140/+612
|
* Updated nrex for LookAhead supportZher Huei Lee2015-11-071-12/+32
|
* More nrex fixesZher Huei Lee2015-07-241-8/+16
|
* Updated nrex fixesLee Zher Huei2015-07-241-5/+5
|
* Regex library Nrex initial portLee Zher Huei2015-07-241-0/+902