summaryrefslogtreecommitdiffstats
path: root/Modules/_sre.c
Commit message (Collapse)AuthorAgeFilesLines
* 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 #19235: Add new RecursionError exception. Patch by Georg Brandl.Yury Selivanov2015-07-031-1/+2
| |
* | 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
| |
* | Issue #17016: Get rid of possible pointer wraparounds and integer overflowsSerhiy Storchaka2013-04-131-11/+11
|\ \ | |/ | | | | in the re module. Patch by Nickolai Zeldovich.
| * Issue #17016: Get rid of possible pointer wraparounds and integer overflowsSerhiy Storchaka2013-04-131-11/+11
| | | | | | | | in the re module. Patch by Nickolai Zeldovich.
* | Issue #9669: Protect re against infinite loops on zero-width matching inSerhiy Storchaka2013-02-161-2/+7
|\ \ | |/ | | | | non-greedy repeat. Patch by Matthew Barnett.
| * Issue #9669: Protect re against infinite loops on zero-width matching inSerhiy Storchaka2013-02-161-2/+7
| |\ | | | | | | | | | non-greedy repeat. Patch by Matthew Barnett.
| | * Issue #9669: Protect re against infinite loops on zero-width matching inSerhiy Storchaka2013-02-161-2/+7
| | | | | | | | | | | | non-greedy repeat. Patch by Matthew Barnett.
* | | Issue #13169: The maximal repetition number in a regular expression has beenSerhiy Storchaka2013-02-161-6/+12
|\ \ \ | |/ / | | | | | | | | | increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on 64-bit).
| * | Issue #13169: The maximal repetition number in a regular expression has beenSerhiy Storchaka2013-02-161-6/+12
| |\ \ | | |/ | | | | | | | | | increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on 64-bit).
| | * Issue #13169: The maximal repetition number in a regular expression has beenSerhiy Storchaka2013-02-161-6/+12
| | | | | | | | | | | | | | | increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on 64-bit).
* | | Issue #16688: Fix backreferences did make case-insensitive regex fail on ↵Serhiy Storchaka2012-12-291-5/+6
|\ \ \ | |/ / | | | | | | | | | | | | non-ASCII strings. Patch by Matthew Barnett.