Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issues #814253, #9179: Group references and conditional group references now | Serhiy Storchaka | 2014-11-07 | 1 | -9/+24 |
| | | | | work in lookbehind assertions in regular expressions. | ||||
* | Issue #22423: Fixed debugging output of the GROUPREF_EXISTS opcode in the re | Serhiy Storchaka | 2014-09-21 | 1 | -18/+27 |
| | | | | module. | ||||
* | Display the name not the group itself | Raymond Hettinger | 2014-06-23 | 1 | -1/+1 |
| | |||||
* | Issue #8343: Named group error msgs did not show the group name. | Raymond Hettinger | 2014-06-23 | 1 | -3/+6 |
| | |||||
* | Issue #18050: Fixed an incompatibility of the re module with Python 2.7.3 | Serhiy Storchaka | 2013-09-20 | 1 | -1/+0 |
| | | | | and older binaries. | ||||
* | Issue #18647: Correctly bound calculated min/max width of a subexpression. | Serhiy Storchaka | 2013-08-19 | 1 | -5/+5 |
| | | | | | Now max width is MAXREPEAT on 32- and 64-bit platforms when one of subexpressions is unbounded repetition. | ||||
* | #17341: Include name in re error message about invalid group name. | R David Murray | 2013-04-14 | 1 | -2/+4 |
| | | | | Patch by Jason Michalski. | ||||
* | Issue #13169: The maximal repetition number in a regular expression has been | Serhiy Storchaka | 2013-02-16 | 1 | -2/+7 |
| | | | | | increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on 64-bit). | ||||
* | #13899: \A, \Z, and \B now correctly match the A, Z, and B literals when ↵ | Ezio Melotti | 2013-01-11 | 1 | -1/+1 |
| | | | | used inside character classes (e.g. [A]). Patch by Matthew Barnett. | ||||
* | #12759: sre_parse now raises a proper error when the name of the group is ↵ | Ezio Melotti | 2012-11-03 | 1 | -1/+7 |
| | | | | missing. Initial patch by Serhiy Storchaka. | ||||
* | remove set compat cruft | Benjamin Peterson | 2008-10-14 | 1 | -6/+0 |
| | |||||
* | remove some __getslice__ | Benjamin Peterson | 2008-05-27 | 1 | -2/+0 |
| | |||||
* | Make sre's SubPattern objects accept slice objects like it already accepts | Thomas Wouters | 2006-12-19 | 1 | -0/+2 |
| | | | | simple slices. | ||||
* | Bug #1202493: Fixing SRE parser to handle '{}' as perl does, rather than | Gustavo Niemeyer | 2005-09-14 | 1 | -0/+3 |
| | | | | considering it exactly like a '*'. | ||||
* | Complete the previous effort to factor out constant expressions | Raymond Hettinger | 2005-02-28 | 1 | -8/+19 |
| | | | | and improve the speed of the if/elif/else blocks. | ||||
* | Minor aesthetic change in sre_parse.py, as suggested by Mike Coleman. | Gustavo Niemeyer | 2004-09-03 | 1 | -2/+2 |
| | |||||
* | Applying modified version of patch #1018386, which fixes | Gustavo Niemeyer | 2004-09-03 | 1 | -42/+36 |
| | | | | some escaping bugs in SRE. | ||||
* | PEP 292 classes Template and SafeTemplate are added to the string module. | Barry Warsaw | 2004-08-25 | 1 | -21/+13 |
| | | | | | | | | This patch includes test cases and documentation updates, as well as NEWS file updates. This patch also updates the sre modules so that they don't import the string module, breaking direct circular imports. | ||||
* | Simple Optimizations: | Raymond Hettinger | 2004-03-26 | 1 | -73/+92 |
| | | | | | * Factor constant expressions out of loops. * Presize a list being grown to a known length. | ||||
* | Whitespace normalization. | Tim Peters | 2004-01-18 | 1 | -2/+2 |
| | |||||
* | Implemented non-recursive SRE matching. | Gustavo Niemeyer | 2003-10-17 | 1 | -1/+39 |
| | |||||
* | Patch #681152: Support escaped Unicode characters in classes. Fixes #612074. | Martin v. Löwis | 2003-04-19 | 1 | -1/+1 |
| | | | | Will backport to 2.2. | ||||
* | SF patch #720991 by Gary Herron: | Guido van Rossum | 2003-04-14 | 1 | -1/+3 |
| | | | | | | | A small fix for bug #545855 and Greg Chapman's addition of op code SRE_OP_MIN_REPEAT_ONE for eliminating recursion on simple uses of pattern '*?' on a long string. | ||||
* | Replace boolean test with is None. | Raymond Hettinger | 2002-06-02 | 1 | -2/+2 |
| | |||||
* | SF 563203. Replaced 'has_key()' with 'in'. | Raymond Hettinger | 2002-06-01 | 1 | -2/+2 |
| | |||||
* | Partial introduction of bools where appropriate. | Guido van Rossum | 2002-04-07 | 1 | -3/+3 |
| | |||||
* | SF #515022 remove unused variable | Neal Norwitz | 2002-02-11 | 1 | -1/+0 |
| | |||||
* | bug #133283, #477728, #483789, #490573 | Fredrik Lundh | 2001-12-09 | 1 | -2/+2 |
| | | | | | | | backed out of broken minimal repeat patch from July also fixed a couple of minor potential resource leaks in pattern_subx (Guido had already fixed the big one) | ||||
* | Improved error msg when a symbolic group name is redefined. Added docs | Tim Peters | 2001-11-03 | 1 | -2/+4 |
| | | | | | | and NEWS. Bugfix candidate? That's a dilemma for Anthony <wink>: /F did fix a longstanding bug here, but the fix can cause code to raise an exception that previously worked by accident. | ||||
* | SF bug #476912: flag repeated use of the same groupname as | Fredrik Lundh | 2001-11-02 | 1 | -1/+3 |
| | | | | the error it really is (and always has been) | ||||
* | fixed #449964: sre.sub raises an exception if the template contains a | Fredrik Lundh | 2001-09-18 | 1 | -4/+4 |
| | | | | | | \g<x> group reference followed by a character escape (also restructured a few things on the way to fixing #449000) | ||||
* | Added docstrings by Neal Norwitz. This closes SF bug #450980. | Fred Drake | 2001-09-04 | 1 | -0/+2 |
| | |||||
* | sre 2.1b2 update: | Fredrik Lundh | 2001-03-22 | 1 | -22/+41 |
| | | | | | | - take locale into account for word boundary anchors (#410271) - restored 2.0's *? behaviour (#233283, #408936 and others) - speed up re.sub/re.subn | ||||
* | detect attempts to repeat anchors (fixes bug #130748) | Fredrik Lundh | 2001-02-18 | 1 | -0/+3 |
| | |||||
* | - restored 1.5.2 compatibility (sorry, eric) | Fredrik Lundh | 2001-02-18 | 1 | -22/+27 |
| | | | | | - removed __all__ cruft from internal modules (sorry, skip) - don't assume ASCII for string escapes (sorry, per) | ||||
* | bunch more __all__ lists | Skip Montanaro | 2001-02-15 | 1 | -0/+3 |
| | | | | | | also modified check_all function to suppress all warnings since they aren't relevant to what this test is doing (allows quiet checking of regsub, for instance) | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -18/+12 |
| | |||||
* | bumped SRE version number to 2.1. cleaned up and added 1.5.2 | Fredrik Lundh | 2001-01-16 | 1 | -11/+17 |
| | | | | compatibility patches. | ||||
* | SRE: stricter pattern syntax checking (covers parts of bug #115900) | Fredrik Lundh | 2001-01-14 | 1 | -7/+17 |
| | |||||
* | SRE fixes for 2.1 alpha: | Fredrik Lundh | 2001-01-14 | 1 | -9/+9 |
| | | | | | | | | | | -- added some more docstrings -- fixed typo in scanner class (#125531) -- the multiline flag (?m) should't affect the \Z operator (#127259) -- fixed non-greedy backtracking bug (#123769, #127259) -- added sre.DEBUG flag (currently dumps the parsed pattern structure) -- fixed a couple of glitches in groupdict (the #126587 memory leak had already been fixed by AMK) | ||||
* | -- properly reset groups in findall (bug #117612) | Fredrik Lundh | 2000-10-28 | 1 | -2/+12 |
| | | | | | | | | -- fixed negative lookbehind to work correctly at the beginning of the target string (bug #117242) -- improved syntax check; you can no longer refer to a group inside itself (bug #110866) | ||||
* | Fixed too ambitious "nothing to repeat" check. Closes bug #114033. | Fredrik Lundh | 2000-10-07 | 1 | -2/+0 |
| | |||||
* | SRE didn't handle character category followed by hyphen inside a | Fredrik Lundh | 2000-10-07 | 1 | -0/+2 |
| | | | | | character class. Fix provided by Andrew Kuchling. Closes bug #116251. | ||||
* | Recompile pattern if (?x) flag was found inside the pattern during the | Fredrik Lundh | 2000-10-03 | 1 | -0/+5 |
| | | | | first scan. Closes bug #115040. | ||||
* | - don't hang if group id is followed by whitespace (closes bug #114660) | Fredrik Lundh | 2000-09-24 | 1 | -1/+1 |
| | |||||
* | -- tightened up parsing of octal numbers | Fredrik Lundh | 2000-09-02 | 1 | -8/+8 |
| | | | | | -- improved the SRE test harness: don't use asserts, test a few more things (including more boundary conditions) | ||||
* | SourceForge patch 101396, by an anonymous friend. | Tim Peters | 2000-09-02 | 1 | -1/+1 |
| | | | | "sre_parse.py missing '7' in DIGITS" | ||||
* | closes bug #112468 (and all the other bugs that surfaced when | Fredrik Lundh | 2000-08-31 | 1 | -28/+47 |
| | | | | I fixed the a bug in the regression test harness...) | ||||
* | -- reset marks if repeat_one tail doesn't match | Fredrik Lundh | 2000-08-07 | 1 | -4/+4 |
| | | | | | | | (this should fix Sjoerd's xmllib problem) -- added skip field to INFO header -- changed compiler to generate charset INFO header -- changed trace messages to support post-mortem analysis | ||||
* | final 0.9.8 updates: | Fredrik Lundh | 2000-08-01 | 1 | -1/+1 |
| | | | | | -- added REPEAT_ONE operator -- added ANY_ALL operator (used to represent "(?s).") |