Radomir Dopieralski
20a787adb4
extmod/ure: Handle some escape sequences.
...
Fix MicroPython #3176
Handle escape sequences inside regular expressions. This adds
handling for \a, \b, \f, \n, \r, \v and \\.
2019-02-14 15:42:25 +01:00
armink
6a693db71d
extmod/re1.5: Fix compilecode.c compile problem on IAR tool chain.
...
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.
2018-04-10 13:54:22 +10:00
Paul Sokolovsky
c9a0b2a818
extmod/re1.5: Upgrade to v0.8.2, adds hook for stack overflow checking.
2017-10-02 21:20:47 +03:00
Paul Sokolovsky
4a314a6f63
extmod/re1.5: Update to 0.8.1.
...
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.
2017-09-24 10:19:24 +03:00
Paul Sokolovsky
d0601b0a1f
extmod/re1.5: Workaround issue with mingw32-gcc 4.2.1.
2015-11-01 02:39:01 +03:00
Paul Sokolovsky
7cce2f664c
extmod/re1.5: Update to 0.8.
...
Contains implementation of ?: (non-capturing groups), ?? (non-greedy ?),
as well as much improved robustness, and edge cases and error handling by
Amir Plivatsky (@ampli).
2015-11-01 00:38:00 +03:00
Paul Sokolovsky
d7194f1b8e
extmod: Update re1.5 to 0.7.
...
Includes static function fix and all the previous improvements and fixes
by @dpgeorge.
2015-03-18 23:42:17 +02:00
Damien George
8dead2a6c6
extmod: Pull in upstream changes to re1.5; fixes bugs with regex errors.
2015-03-10 17:47:13 +00:00
Damien George
d09a5b51c2
extmod: Pull in upstream changes to re1.5; fixes bug, adds named class.
2015-02-21 10:33:20 +00:00
Paul Sokolovsky
297d8469b8
modure: Update to re1.5 v0.6.1, fixed and extended character class support.
2014-10-17 22:25:18 +03:00
Paul Sokolovsky
95908b0f50
modure: Update to re1.5 v0.6, support for char sets/classes ([a-c]).
2014-10-15 04:44:07 +03:00
Paul Sokolovsky
457c0a606c
modure: Upgrade re1.5 to 0.5.1
...
Changes include:
regexp.h: Add double-include protection.
2014-10-12 03:12:19 +03:00
Paul Sokolovsky
5edbadefc1
modure: Import needed files from re1.5 v0.5.
...
https://github.com/pfalcon/re1.5
2014-10-11 14:36:32 +03:00