summaryrefslogtreecommitdiffstats
path: root/Modules/_sre.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * | Issue #16688: Fix backreferences did make case-insensitive regex fail on ↵Serhiy Storchaka2012-12-291-5/+6
| | | | | | | | | | | | | | | | | | non-ASCII strings. Patch by Matthew Barnett.
* | | rename MathcObject to match object in doctrings for re module (#16760)Andrew Svetlov2012-12-251-1/+1
|\ \ \ | |/ /
| * | rename MathcObject to match object in doctrings for re module (#16760)Andrew Svetlov2012-12-251-1/+1
| |\ \ | | |/
| | * rename MathcObject to match object in doctrings for re module (#16760)Andrew Svetlov2012-12-251-1/+1
| | |
* | | Issue #16443: Add docstrings to regular expression match objects.Andrew Svetlov2012-12-231-15/+55
|\ \ \ | |/ / | | | | | | Patch by Anton Kasyanov.
| * | Issue #16443: Add docstrings to regular expression match objects.Andrew Svetlov2012-12-231-15/+55
| |\ \ | | |/ | | | | | | Patch by Anton Kasyanov.
| | * Issue #16443: Add docstrings to regular expression match objects.Andrew Svetlov2012-12-231-15/+55
| | | | | | | | | | | | Patch by Anton Kasyanov.
* | | 1 << 31 is invalid for signed integers, fix it by making 1 unsigned.Gregory P. Smith2012-12-111-2/+2
|\ \ \ | |/ / | | | | | | Found by Clang trunk's Undefined-Behavior Sanitizer. [more to come]
| * | 1 << 31 is invalid for signed integers, fix it by making 1 unsigned.Gregory P. Smith2012-12-111-2/+2
| |\ \ | | |/ | | | | | | Found by Clang trunk's Undefined-Behavior Sanitizer. [more to come]
| | * 1 << 31 is invalid for signed integers, fix it by making 1 unsigned.Gregory P. Smith2012-12-111-2/+2
| | | | | | | | | | | | Found by Clang trunk's Undefined-Behavior Sanitizer. [more to come]
* | | Issue #10182: The re module doesn't truncate indices to 32 bits anymore.Antoine Pitrou2012-12-021-5/+5
|\ \ \ | |/ / | | | | | | Patch by Serhiy Storchaka.
| * | Issue #10182: The re module doesn't truncate indices to 32 bits anymore.Antoine Pitrou2012-12-021-5/+5
| |\ \ | | |/ | | | | | | Patch by Serhiy Storchaka.
| | * Issue #10182: The re module doesn't truncate indices to 32 bits anymore.Antoine Pitrou2012-12-021-5/+5
| | | | | | | | | | | | Patch by Serhiy Storchaka.
| | * Issue #1160: Fix compiling large regular expressions on UCS2 builds.Antoine Pitrou2012-11-201-4/+7
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | Issue #9566: Use the right type to fix a compiler warnings on Win64Victor Stinner2012-10-301-7/+7
|/ /
* | closes #14259 re.finditer() now takes keyword arguments: pos, endpos.Sean Reifschneider2012-03-131-7/+9
| | | | | | | | | | Contrary to the documentation, finditer() did not take pos and endpos keyword arguments.
* | merge 3.2 (#14212)Benjamin Peterson2012-03-071-25/+40
|\ \ | |/
| * keep the buffer object around while we're using it (closes #14212)Benjamin Peterson2012-03-071-33/+47
| |
* | Issue #10951: Fix compiler warnings in _sre.cRoss Lagerwall2012-03-061-5/+5
| |