summaryrefslogtreecommitdiffstats
path: root/Modules/_sre.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-061-1/+1
|\
| * Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-061-1/+1
| |
* | Issue #25923: Added more const qualifiers to signatures of static and ↵Serhiy Storchaka2015-12-251-1/+1
| | | | | | | | private functions.
* | Issue #25923: Added the const qualifier to static constant arrays.Serhiy Storchaka2015-12-251-1/+1
| |
* | Issue #20440: Massive replacing unsafe attribute setting code with specialSerhiy Storchaka2015-12-241-2/+1
|\ \ | |/ | | | | macro Py_SETREF.
| * Issue #20440: Massive replacing unsafe attribute setting code with specialSerhiy Storchaka2015-12-241-2/+1
| | | | | | | | macro Py_SETREF.
* | Issue #18684: Fixed reading out of the buffer in the re module.Serhiy Storchaka2015-07-061-5/+21
|\ \ | |/
| * Issue #18684: Fixed reading out of the buffer in the re module.Serhiy Storchaka2015-07-061-5/+21
| |\
| | * Issue #18684: Fixed reading out of the buffer in the re module.Serhiy Storchaka2015-07-061-5/+21
| | |
* | | Merge 3.5 (Issue #19235)Yury Selivanov2015-07-031-1/+2
|\ \ \ | |/ /
| * | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl.Yury Selivanov2015-07-031-1/+2
| | |
* | | Issue #24426: Fast searching optimization in regular expressions now worksSerhiy Storchaka2015-06-211-3/+0
|/ / | | | | | | | | for patterns that starts with capturing groups. Fast searching optimization now can't be disabled at compile time.
* | Fix Windows build breakage from checkins on Issues #20148 and #20168.Larry Hastings2015-05-031-141/+140
| |
* | Issue #20148: Converted the _sre module to Argument Clinic.Serhiy Storchaka2015-05-031-311/+391
| |
* | Issue #14260: The groupindex attribute of regular expression pattern objectSerhiy Storchaka2015-03-291-1/+14
| | | | | | | | now is non-modifiable mapping.
* | Issue #22364: Improved some re error messages using regex for hints.Serhiy Storchaka2015-03-251-3/+3
| |
* | Issue #22818: Splitting on a pattern that could match an empty string nowSerhiy Storchaka2015-02-031-0/+13
| | | | | | | | | | raises a warning. Patterns that can only match empty strings are now rejected.
* | Issue #17381: Fixed handling of case-insensitive ranges in regular expressions.Serhiy Storchaka2014-10-311-3/+25
| | | | | | | | Added new opcode RANGE_IGNORE.
* | Issue #22584: Got rid of character tables in _sre.c and use standard macrosSerhiy Storchaka2014-10-101-34/+6
| | | | | | | | Py_TOLOWER, Py_ISSPACE, etc.
* | Issue #22437: Number of capturing groups in regular expression is no longerSerhiy Storchaka2014-09-291-14/+37
| | | | | | | | limited by 100.
* | Issue #22156: Fix some "comparison between signed and unsigned integers"Victor Stinner2014-08-151-1/+1
|/ | | | compiler warnings in the Modules/ subdirectory.
* Issue #20998: Fixed re.fullmatch() of repeated single character patternSerhiy Storchaka2014-05-141-8/+7
| | | | with ignore case. Original patch by Matthew Barnett.
* Issue #20283: RE pattern methods now accept the string keyword parametersSerhiy Storchaka2014-03-061-64/+79
|\ | | | | | | | | as documented. The pattern and source keyword parameters are left as deprecated aliases.
| * Issue #20283: RE pattern methods now accept the string keyword parametersSerhiy Storchaka2014-03-061-20/+64
| | | | | | | | | | as documented. The pattern and source keyword parameters are left as deprecated aliases.
* | Issue #20530: Argument Clinic's signature format has been revised again.Larry Hastings2014-02-091-2/+4
| | | | | | | | | | | | | | The new syntax is highly human readable while still preventing false positives. The syntax also extends Python syntax to denote "self" and positional-only parameters, allowing inspect.Signature objects to be totally accurate for all supported builtins in Python 3.4.
* | Issue #20326: Argument Clinic now uses a simple, unique signature toLarry Hastings2014-01-281-2/+2
| | | | | | | | | | | | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date).
* | Issue #20390: Small fixes and improvements for Argument Clinic.Larry Hastings2014-01-261-2/+1
| |
* | Issue #20189: Four additional builtin types (PyTypeObject,Larry Hastings2014-01-241-4/+4
| | | | | | | | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes.
* | Issue #19723: Missed one conversion to the new Argument Clinic syntax.Larry Hastings2014-01-071-3/+3
| |
* | Issue #20144: Argument Clinic now supports simple constants as parameterLarry Hastings2014-01-071-18/+50
| | | | | | | | | | default values. inspect.Signature correspondingly supports them in __text_signature__ fields for builtins.
* | Issue #16203: Add re.fullmatch() function and regex.fullmatch() method,Serhiy Storchaka2013-11-231-18/+59
| | | | | | | | | | | | which anchor the pattern at both ends of the string to match. Original patch by Matthew Barnett.
* | Issue #13592: Improved the repr for regular expression pattern objects.Serhiy Storchaka2013-11-231-1/+81
| | | | | | | | Based on patch by Hugo Lopes Tavares.
* | Fix compiler warning (especially on Windows 64-bit): don't truncate Py_ssize_tVictor Stinner2013-11-151-4/+4
| | | | | | | | to int
* | Issue #19405: Fixed outdated comments in the _sre module.Serhiy Storchaka2013-10-271-2/+1
|\ \ | |/
| * Issue #19405: Fixed outdated comments in the _sre module.Serhiy Storchaka2013-10-271-2/+1
| |
* | Issue #18685: Extract template part of _sre.c into separated sre_lib.h file.Serhiy Storchaka2013-10-261-1339/+3
| |
* | Issue #18685: Restore re performance to pre-PEP 393 levels.Serhiy Storchaka2013-10-261-378/+322
| |
* | Issue #19327: Fixed the working of regular expressions with too big charset.Serhiy Storchaka2013-10-241-2/+2
|\ \ | |/
| * Issue #19327: Fixed the working of regular expressions with too big charset.Serhiy Storchaka2013-10-241-2/+2
| |
* | Issue #17087: Improved the repr for regular expression match objects.Serhiy Storchaka2013-10-201-1/+17
| |
* | Fix a refleak in _sreBrett Cannon2013-10-181-0/+1
| |
* | Issue #18468: The re.split, re.findall, and re.sub functions and the group()Serhiy Storchaka2013-10-161-51/+59
| | | | | | | | | | and groups() methods of match object now always return a string or a bytes object.
* | Back out accidentally pushed changeset b51218966201.Georg Brandl2013-10-131-86/+34
| |
* | Add re.fullmatch() function and regex.fullmatch() method, which anchor theGeorg Brandl2013-10-131-34/+86
| | | | | | | | | | | | | | pattern at both ends of the string to match. Patch by Matthew Barnett. Closes #16203.
* | Issue #18672: Fixed format specifiers for Py_ssize_t in debugging output inSerhiy Storchaka2013-09-051-14/+23
|\ \ | |/ | | | | the _sre moduel.
| * Issue #18672: Fixed format specifiers for Py_ssize_t in debugging output inSerhiy Storchaka2013-09-051-14/+23
| | | | | | | | the _sre moduel.
* | Get rid of signed/unsigned comparaison in _sre.cVictor Stinner2013-08-281-11/+11
| | | | | | | | | | | | | | | | Fix compilation warnings on Windows (Visual C++) like: "_sre.c(3121): warning C4018: '>' : signed/unsigned mismatch". _validate_outer() ensures that groups >= 0, so _validate_inner() can cast groups to size_t.
* | Issue #18701: Remove support of old CPython versions (<3.0) from C code.Serhiy Storchaka2013-08-161-17/+0
| |
* | Issue #17998: Fix an internal error in regular expression engine.Serhiy Storchaka2013-08-031-6/+6
|\ \ | |/
| * Issue #17998: Fix an internal error in regular expression engine.Serhiy Storchaka2013-08-031-6/+6
| |