Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22818: Splitting on a pattern that could match an empty string now | Serhiy Storchaka | 2015-02-03 | 1 | -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 Storchaka | 2014-10-31 | 1 | -3/+25 |
| | | | | Added new opcode RANGE_IGNORE. | ||||
* | Issue #22584: Got rid of character tables in _sre.c and use standard macros | Serhiy Storchaka | 2014-10-10 | 1 | -34/+6 |
| | | | | Py_TOLOWER, Py_ISSPACE, etc. | ||||
* | Issue #22437: Number of capturing groups in regular expression is no longer | Serhiy Storchaka | 2014-09-29 | 1 | -14/+37 |
| | | | | limited by 100. | ||||
* | Issue #22156: Fix some "comparison between signed and unsigned integers" | Victor Stinner | 2014-08-15 | 1 | -1/+1 |
| | | | | compiler warnings in the Modules/ subdirectory. | ||||
* | Issue #20998: Fixed re.fullmatch() of repeated single character pattern | Serhiy Storchaka | 2014-05-14 | 1 | -8/+7 |
| | | | | with ignore case. Original patch by Matthew Barnett. | ||||
* | Issue #20283: RE pattern methods now accept the string keyword parameters | Serhiy Storchaka | 2014-03-06 | 1 | -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 parameters | Serhiy Storchaka | 2014-03-06 | 1 | -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 Hastings | 2014-02-09 | 1 | -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 to | Larry Hastings | 2014-01-28 | 1 | -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 Hastings | 2014-01-26 | 1 | -2/+1 |
| | | |||||
* | | Issue #20189: Four additional builtin types (PyTypeObject, | Larry Hastings | 2014-01-24 | 1 | -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 Hastings | 2014-01-07 | 1 | -3/+3 |
| | | |||||
* | | Issue #20144: Argument Clinic now supports simple constants as parameter | Larry Hastings | 2014-01-07 | 1 | -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 Storchaka | 2013-11-23 | 1 | -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 Storchaka | 2013-11-23 | 1 | -1/+81 |
| | | | | | | | | Based on patch by Hugo Lopes Tavares. | ||||
* | | Fix compiler warning (especially on Windows 64-bit): don't truncate Py_ssize_t | Victor Stinner | 2013-11-15 | 1 | -4/+4 |
| | | | | | | | | to int | ||||
* | | Issue #19405: Fixed outdated comments in the _sre module. | Serhiy Storchaka | 2013-10-27 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Issue #19405: Fixed outdated comments in the _sre module. | Serhiy Storchaka | 2013-10-27 | 1 | -2/+1 |
| | | |||||
* | | Issue #18685: Extract template part of _sre.c into separated sre_lib.h file. | Serhiy Storchaka | 2013-10-26 | 1 | -1339/+3 |
| | | |||||
* | | Issue #18685: Restore re performance to pre-PEP 393 levels. | Serhiy Storchaka | 2013-10-26 | 1 | -378/+322 |
| | | |||||
* | | Issue #19327: Fixed the working of regular expressions with too big charset. | Serhiy Storchaka | 2013-10-24 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #19327: Fixed the working of regular expressions with too big charset. | Serhiy Storchaka | 2013-10-24 | 1 | -2/+2 |
| | | |||||
* | | Issue #17087: Improved the repr for regular expression match objects. | Serhiy Storchaka | 2013-10-20 | 1 | -1/+17 |
| | | |||||
* | | Fix a refleak in _sre | Brett Cannon | 2013-10-18 | 1 | -0/+1 |
| | | |||||
* | | Issue #18468: The re.split, re.findall, and re.sub functions and the group() | Serhiy Storchaka | 2013-10-16 | 1 | -51/+59 |
| | | | | | | | | | | and groups() methods of match object now always return a string or a bytes object. | ||||
* | | Back out accidentally pushed changeset b51218966201. | Georg Brandl | 2013-10-13 | 1 | -86/+34 |
| | | |||||
* | | Add re.fullmatch() function and regex.fullmatch() method, which anchor the | Georg Brandl | 2013-10-13 | 1 | -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 in | Serhiy Storchaka | 2013-09-05 | 1 | -14/+23 |
|\ \ | |/ | | | | | the _sre moduel. | ||||
| * | Issue #18672: Fixed format specifiers for Py_ssize_t in debugging output in | Serhiy Storchaka | 2013-09-05 | 1 | -14/+23 |
| | | | | | | | | the _sre moduel. | ||||
* | | Get rid of signed/unsigned comparaison in _sre.c | Victor Stinner | 2013-08-28 | 1 | -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 Storchaka | 2013-08-16 | 1 | -17/+0 |
| | | |||||
* | | Issue #17998: Fix an internal error in regular expression engine. | Serhiy Storchaka | 2013-08-03 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | Issue #17998: Fix an internal error in regular expression engine. | Serhiy Storchaka | 2013-08-03 | 1 | -6/+6 |
| | | |||||
* | | Issue #17016: Get rid of possible pointer wraparounds and integer overflows | Serhiy Storchaka | 2013-04-13 | 1 | -11/+11 |
|\ \ | |/ | | | | | in the re module. Patch by Nickolai Zeldovich. | ||||
| * | Issue #17016: Get rid of possible pointer wraparounds and integer overflows | Serhiy Storchaka | 2013-04-13 | 1 | -11/+11 |
| | | | | | | | | in the re module. Patch by Nickolai Zeldovich. | ||||
* | | Issue #9669: Protect re against infinite loops on zero-width matching in | Serhiy Storchaka | 2013-02-16 | 1 | -2/+7 |
|\ \ | |/ | | | | | non-greedy repeat. Patch by Matthew Barnett. | ||||
| * | Issue #9669: Protect re against infinite loops on zero-width matching in | Serhiy Storchaka | 2013-02-16 | 1 | -2/+7 |
| |\ | | | | | | | | | | non-greedy repeat. Patch by Matthew Barnett. | ||||
| | * | Issue #9669: Protect re against infinite loops on zero-width matching in | Serhiy Storchaka | 2013-02-16 | 1 | -2/+7 |
| | | | | | | | | | | | | non-greedy repeat. Patch by Matthew Barnett. | ||||
* | | | Issue #13169: The maximal repetition number in a regular expression has been | Serhiy Storchaka | 2013-02-16 | 1 | -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 been | Serhiy Storchaka | 2013-02-16 | 1 | -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 been | Serhiy Storchaka | 2013-02-16 | 1 | -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 Storchaka | 2012-12-29 | 1 | -5/+6 |
|\ \ \ | |/ / | | | | | | | | | | | | | non-ASCII strings. Patch by Matthew Barnett. | ||||
| * | | Issue #16688: Fix backreferences did make case-insensitive regex fail on ↵ | Serhiy Storchaka | 2012-12-29 | 1 | -5/+6 |
| | | | | | | | | | | | | | | | | | | non-ASCII strings. Patch by Matthew Barnett. | ||||
* | | | rename MathcObject to match object in doctrings for re module (#16760) | Andrew Svetlov | 2012-12-25 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | rename MathcObject to match object in doctrings for re module (#16760) | Andrew Svetlov | 2012-12-25 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | rename MathcObject to match object in doctrings for re module (#16760) | Andrew Svetlov | 2012-12-25 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #16443: Add docstrings to regular expression match objects. | Andrew Svetlov | 2012-12-23 | 1 | -15/+55 |
|\ \ \ | |/ / | | | | | | | Patch by Anton Kasyanov. | ||||
| * | | Issue #16443: Add docstrings to regular expression match objects. | Andrew Svetlov | 2012-12-23 | 1 | -15/+55 |
| |\ \ | | |/ | | | | | | | Patch by Anton Kasyanov. | ||||
| | * | Issue #16443: Add docstrings to regular expression match objects. | Andrew Svetlov | 2012-12-23 | 1 | -15/+55 |
| | | | | | | | | | | | | Patch by Anton Kasyanov. |