Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587) | Victor Stinner | 2020-12-01 | 1 | -2/+2 |
| | | | | | | | | | No longer use deprecated aliases to functions: * Replace PyObject_MALLOC() with PyObject_Malloc() * Replace PyObject_REALLOC() with PyObject_Realloc() * Replace PyObject_FREE() with PyObject_Free() * Replace PyObject_Del() with PyObject_Free() * Replace PyObject_DEL() with PyObject_Free() | ||||
* | bpo-40943: Replace PY_FORMAT_SIZE_T with "z" (GH-20781) | Victor Stinner | 2020-06-10 | 1 | -17/+12 |
| | | | | | | | The PEP 353, written in 2005, introduced PY_FORMAT_SIZE_T. Python no longer supports macOS 10.4 and Visual Studio 2010, but requires more recent macOS and Visual Studio versions. In 2020 with Python 3.10, it is now safe to use directly "%zu" to format size_t and "%zi" to format Py_ssize_t. | ||||
* | bpo-39943: Fix MSVC warnings in sre extension (GH-20508) | Ammar Askar | 2020-06-01 | 1 | -1/+4 |
| | |||||
* | bpo-39943: Add the const qualifier to pointers on non-mutable PyUnicode ↵ | Serhiy Storchaka | 2020-04-11 | 1 | -14/+14 |
| | | | | data. (GH-19345) | ||||
* | bpo-34294: re module, fix wrong capturing groups in rare cases. (GH-11546) | animalize | 2019-02-18 | 1 | -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 Storchaka | 2017-12-04 | 1 | -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 Storchaka | 2017-10-24 | 1 | -23/+113 |
| | | | | flags for RE. (#3885) | ||||
* | bpo-30215: Make re.compile() locale agnostic. (#1361) | Serhiy Storchaka | 2017-05-05 | 1 | -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 types | Benjamin Peterson | 2016-09-06 | 1 | -1/+1 |
| | |||||
* | Reuse Py_STRINGIFY() macro in sre_lib.h and dynload_win.c. | Serhiy Storchaka | 2015-11-05 | 1 | -4/+2 |
| | |||||
* | Issue #18684: Fixed reading out of the buffer in the re module. | Serhiy Storchaka | 2015-07-06 | 1 | -9/+20 |
|\ | |||||
| * | Issue #18684: Fixed reading out of the buffer in the re module. | Serhiy Storchaka | 2015-07-06 | 1 | -9/+20 |
| |\ | |||||
| | * | Issue #18684: Fixed reading out of the buffer in the re module. | Serhiy Storchaka | 2015-07-06 | 1 | -9/+20 |
| | | | |||||
* | | | Issue #24426: Fast searching optimization in regular expressions now works | Serhiy Storchaka | 2015-06-21 | 1 | -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 Storchaka | 2014-10-31 | 1 | -6/+22 |
|/ | | | | Added new opcode RANGE_IGNORE. | ||||
* | Issue #20998: Fixed re.fullmatch() of repeated single character pattern | Serhiy Storchaka | 2014-05-14 | 1 | -10/+10 |
| | | | | with ignore case. Original patch by Matthew Barnett. | ||||
* | Issue #16203: Add re.fullmatch() function and regex.fullmatch() method, | Serhiy Storchaka | 2013-11-23 | 1 | -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 Storchaka | 2013-10-26 | 1 | -0/+1329 |