summaryrefslogtreecommitdiffstats
path: root/Modules/sre_lib.h
Commit message (Collapse)AuthorAgeFilesLines
* bpo-34294: re module, fix wrong capturing groups in rare cases. (GH-11546)animalize2019-02-181-0/+8
| | | | | | Need to reset capturing groups between two SRE(match) callings in loops, this fixes wrong capturing groups in rare cases. Also add a missing index in re.rst.
* bpo-25054, bpo-1647489: Added support of splitting on zerowidth patterns. ↵Serhiy Storchaka2017-12-041-17/+30
| | | | | | (#4471) Also fixed searching patterns that could match an empty string.
* bpo-31690: Allow the inline flags "a", "L", and "u" to be used as group ↵Serhiy Storchaka2017-10-241-23/+113
| | | | flags for RE. (#3885)
* bpo-30215: Make re.compile() locale agnostic. (#1361)Serhiy Storchaka2017-05-051-2/+67
| | | | | | Compiled regular expression objects with the re.LOCALE flag no longer depend on the locale at compile time. Only the locale at matching time affects the result of matching.
* replace Py_(u)intptr_t with the c99 standard typesBenjamin Peterson2016-09-061-1/+1
|
* Reuse Py_STRINGIFY() macro in sre_lib.h and dynload_win.c.Serhiy Storchaka2015-11-051-4/+2
|
* Issue #18684: Fixed reading out of the buffer in the re module.Serhiy Storchaka2015-07-061-9/+20
|\
| * Issue #18684: Fixed reading out of the buffer in the re module.Serhiy Storchaka2015-07-061-9/+20
| |\
| | * Issue #18684: Fixed reading out of the buffer in the re module.Serhiy Storchaka2015-07-061-9/+20
| | |
* | | Issue #24426: Fast searching optimization in regular expressions now worksSerhiy Storchaka2015-06-211-26/+27
|/ / | | | | | | | | for patterns that starts with capturing groups. Fast searching optimization now can't be disabled at compile time.
* | Issue #17381: Fixed handling of case-insensitive ranges in regular expressions.Serhiy Storchaka2014-10-311-6/+22
|/ | | | Added new opcode RANGE_IGNORE.
* Issue #20998: Fixed re.fullmatch() of repeated single character patternSerhiy Storchaka2014-05-141-10/+10
| | | | with ignore case. Original patch by Matthew Barnett.
* Issue #16203: Add re.fullmatch() function and regex.fullmatch() method,Serhiy Storchaka2013-11-231-7/+21
| | | | | | which anchor the pattern at both ends of the string to match. Original patch by Matthew Barnett.
* Issue #18685: Extract template part of _sre.c into separated sre_lib.h file.Serhiy Storchaka2013-10-261-0/+1329