summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/re1.5/compilecode.c
Commit message (Collapse)AuthorAge
* lib/re1.5: Move re1.5 code from extmod to lib.Damien George2021-07-12
| | | | | | It's third-party code, and not necessarily tied to extmod. Signed-off-by: Damien George <damien@micropython.org>
* extmod/re1.5: Check and report byte overflow errors in _compilecode.Jeff Epler2021-04-06
| | | | | | | | | | | | | The generated regex code is limited in the range of jumps and counts, and this commit checks all cases which can overflow given the right kind of input regex, and returns an error in such a case. This change assumes that the results that overflow an int8_t do not overflow a platform int. Closes: #7078 Signed-off-by: Jeff Epler <jepler@gmail.com>
* py, extmod: Introduce and use MP_FALLTHROUGH macro.Emil Renner Berthing2020-10-22
| | | | | | | Newer GCC versions are able to warn about switch cases that fall through. This is usually a sign of a forgotten break statement, but in the few cases where a fall through is intended we annotate it with this macro to avoid the warning.
* extmod/re1.5: Support escaping within RE classes.Jim Mussared2019-10-18
| | | | | | Fixes issues #3178 and #5220. Tests are added, including all the cases mentioned in both bugs.
* extmod/re1.5: Fix compilecode.c compile problem on IAR tool chain.armink2018-04-10
| | | | | | The 2nd and 3rd args of the ternary operator are treated like they are in the same expression and must have similar types. void is not compatible with int so that's why the compiler is complaining.
* extmod/re1.5: Update to 0.8.1.Paul Sokolovsky2017-09-24
| | | | | | | Allow literal minus in char classes to be in trailing position, e.g. [a-c-]. (Previously, minus was allowed only at the start.) This increases ARM Thumb2 code size by 8 bytes.
* extmod/re1.5: Workaround issue with mingw32-gcc 4.2.1.Paul Sokolovsky2015-11-01
|
* extmod/re1.5: Update to 0.8.Paul Sokolovsky2015-11-01
| | | | | | Contains implementation of ?: (non-capturing groups), ?? (non-greedy ?), as well as much improved robustness, and edge cases and error handling by Amir Plivatsky (@ampli).
* extmod: Update re1.5 to 0.7.Paul Sokolovsky2015-03-18
| | | | | Includes static function fix and all the previous improvements and fixes by @dpgeorge.
* extmod: Pull in upstream changes to re1.5; fixes bugs with regex errors.Damien George2015-03-10
|
* extmod: Pull in upstream changes to re1.5; fixes bug, adds named class.Damien George2015-02-21
|
* modure: Update to re1.5 v0.6.1, fixed and extended character class support.Paul Sokolovsky2014-10-17
|
* modure: Update to re1.5 v0.6, support for char sets/classes ([a-c]).Paul Sokolovsky2014-10-15
|
* modure: Import needed files from re1.5 v0.5.Paul Sokolovsky2014-10-11
https://github.com/pfalcon/re1.5