diff options
author | Zher Huei Lee <lee.zh.92@gmail.com> | 2015-12-04 21:18:41 +0000 |
---|---|---|
committer | Zher Huei Lee <lee.zh.92@gmail.com> | 2015-12-04 21:18:41 +0000 |
commit | d0ddf150d9c7207f87409b5899297dae0fc0b708 (patch) | |
tree | 0a4e0fcd8a4c48163c67fc19f17813f3b44ad23e /drivers/webpold/dec/io.c | |
parent | 5b0dcab3e85a4b2147ec23a06f7845246f8cb538 (diff) |
updated the RegEx library nrex to v0.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)
Diffstat (limited to 'drivers/webpold/dec/io.c')
0 files changed, 0 insertions, 0 deletions