Staging
v0.5.1
https://github.com/python/cpython
Revision 4a7f44a2ed49ff1e87db062e7177a56c6e4bbdb0 authored by animalize on 18 February 2019, 13:26:37 UTC, committed by Serhiy Storchaka on 18 February 2019, 13:26:37 UTC
Need to reset capturing groups between two SRE(match) callings in loops, this fixes wrong capturing groups in rare cases.

Also add a missing index in re.rst.
1 parent 02c04f2
History
Tip revision: 4a7f44a2ed49ff1e87db062e7177a56c6e4bbdb0 authored by animalize on 18 February 2019, 13:26:37 UTC
bpo-34294: re module, fix wrong capturing groups in rare cases. (GH-11546)
Tip revision: 4a7f44a
File Mode Size
Python.asdl -rw-r--r-- 5.3 KB
acceler.c -rw-r--r-- 3.3 KB
asdl.py -rw-r--r-- 12.6 KB
asdl_c.py -rw-r--r-- 43.3 KB
bitset.c -rw-r--r-- 1.0 KB
firstsets.c -rw-r--r-- 2.8 KB
grammar.c -rw-r--r-- 7.4 KB
grammar1.c -rw-r--r-- 1.3 KB
listnode.c -rw-r--r-- 1.3 KB
metagrammar.c -rw-r--r-- 2.4 KB
myreadline.c -rw-r--r-- 10.6 KB
node.c -rw-r--r-- 5.1 KB
parser.c -rw-r--r-- 12.4 KB
parser.h -rw-r--r-- 1.3 KB
parsetok.c -rw-r--r-- 13.5 KB
parsetok_pgen.c -rw-r--r-- 35 bytes
pgen.c -rw-r--r-- 17.9 KB
pgenmain.c -rw-r--r-- 4.1 KB
printgrammar.c -rw-r--r-- 2.9 KB
token.c -rw-r--r-- 4.5 KB
tokenizer.c -rw-r--r-- 51.6 KB
tokenizer.h -rw-r--r-- 3.6 KB
tokenizer_pgen.c -rw-r--r-- 36 bytes

back to top