animalize
4a7f44a2ed
bpo-34294: re module, fix wrong capturing groups in rare cases. (GH-11546)
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.
7 years ago
Serhiy Storchaka
70d56fb525
bpo-25054, bpo-1647489: Added support of splitting on zerowidth patterns. ( #4471 )
Also fixed searching patterns that could match an empty string.
9 years ago
Serhiy Storchaka
3557b05c5a
bpo-31690: Allow the inline flags "a", "L", and "u" to be used as group flags for RE. ( #3885 )
9 years ago
Serhiy Storchaka
898ff03e1e
bpo-30215: Make re.compile() locale agnostic. ( #1361 )
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.
9 years ago
Benjamin Peterson
ca47063998
replace Py_(u)intptr_t with the c99 standard types
10 years ago
Serhiy Storchaka
12b2538ab8
Reuse Py_STRINGIFY() macro in sre_lib.h and dynload_win.c.
11 years ago
Serhiy Storchaka
03d6ee3823
Issue #18684 : Fixed reading out of the buffer in the re module.
11 years ago
Serhiy Storchaka
66dc4648fc
Issue #24426 : Fast searching optimization in regular expressions now works
for patterns that starts with capturing groups. Fast searching optimization
now can't be disabled at compile time.
11 years ago
Serhiy Storchaka
4b8f8949b4
Issue #17381 : Fixed handling of case-insensitive ranges in regular expressions.
Added new opcode RANGE_IGNORE.
12 years ago
Serhiy Storchaka
429b59ec69
Issue #20998 : Fixed re.fullmatch() of repeated single character pattern
with ignore case. Original patch by Matthew Barnett.
12 years ago
Serhiy Storchaka
32eddc1bbc
Issue #16203 : Add re.fullmatch() function and regex.fullmatch() method,
which anchor the pattern at both ends of the string to match.
Original patch by Matthew Barnett.
13 years ago
Serhiy Storchaka
8444ebbd72
Issue #18685 : Extract template part of _sre.c into separated sre_lib.h file.
13 years ago