Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-91870: Remove unsupported SRE opcode CALL (GH-91872) | Serhiy Storchaka | 2022-04-26 | 3 | -12/+1 |
| | | | | | | | It was initially added to support atomic groups, but that support was never fully implemented, and CALL was only left in the compiler, but not interpreter and parser. ATOMIC_GROUP is now used to support atomic groups. | ||||
* | RE: Pre-split the list of opcode names (GH-91859) | Serhiy Storchaka | 2022-04-23 | 1 | -70/+71 |
| | | | | 1. It makes them interned. 2. It allows to add comments to individual opcodes. | ||||
* | gh-91308: Simplify parsing inline flag "x" (verbose) (GH-91855) | Serhiy Storchaka | 2022-04-23 | 1 | -16/+4 |
| | |||||
* | gh-91575: Add a script for generating data for case-insensitive matching in ↵ | Serhiy Storchaka | 2022-04-22 | 2 | -57/+108 |
| | | | | | re (GH-91660) Also test that all extra cases are in BMP. | ||||
* | gh-91700: Validate the group number in conditional expression in RE (GH-91702) | Serhiy Storchaka | 2022-04-22 | 1 | -0/+10 |
| | | | | | | In expression (?(group)...) an appropriate re.error is now raised if the group number refers to not defined group. Previously it raised RuntimeError: invalid SRE code. | ||||
* | gh-90568: Fix exception type for \N with a named sequence in RE (GH-91665) | Serhiy Storchaka | 2022-04-22 | 1 | -2/+2 |
| | | | re.error is now raised instead of TypeError. | ||||
* | gh-91575: Update case-insensitive matching in re to the latest Unicode ↵ | Serhiy Storchaka | 2022-04-18 | 1 | -3/+27 |
| | | | | version (GH-91580) | ||||
* | bpo-47152: Automatically regenerate sre_constants.h (GH-91439) | Serhiy Storchaka | 2022-04-12 | 1 | -43/+0 |
| | | | | | | | * Move the code for generating Modules/_sre/sre_constants.h from Lib/re/_constants.py into a separate script Tools/scripts/generate_sre_constants.py. * Add target `regen-sre` in the makefile. * Make target `regen-all` depending on `regen-sre`. | ||||
* | bpo-47227: Suppress expression chaining for more RE parsing errors (GH-32333) | Serhiy Storchaka | 2022-04-06 | 1 | -5/+5 |
| | |||||
* | bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300) | Serhiy Storchaka | 2022-04-06 | 4 | -13/+2 |
| | | | They were undocumented and never working. | ||||
* | bpo-47152: Remove unused import in re (GH-32298) | Serhiy Storchaka | 2022-04-04 | 1 | -4/+0 |
| | |||||
* | bpo-47152: Move sources of the _sre module into a subdirectory (GH-32290) | Serhiy Storchaka | 2022-04-04 | 1 | -1/+1 |
| | |||||
* | bpo-23689: re module, fix memory leak when a match is terminated by a signal ↵ | Ma Lin | 2022-04-03 | 2 | -23/+40 |
| | | | | or memory allocation failure (GH-32283) | ||||
* | bpo-47152: Convert the re module into a package (GH-32177) | Serhiy Storchaka | 2022-04-02 | 4 | -0/+2504 |
The sre_* modules are now deprecated. |