Issue222852
Created on 2000-11-18.19:33:38 by bckfnn, last changed 2000-12-11.18:50:23 by bckfnn.
History | |||
---|---|---|---|
Date | User | Action | Args |
2000-11-18 19:33:38 | bckfnn | create |
Created on 2000-11-18.19:33:38 by bckfnn, last changed 2000-12-11.18:50:23 by bckfnn.
Messages | |||
---|---|---|---|
msg157 (view) | Author: Finn Bock (bckfnn) | Date: 2000-11-18.19:33:38 | |
Erronous handling of '(' for groupindex count: Here the correct output of (C-)Python: >>> re.compile(r'\\()(?P<x>)').groupindex {'x': 2} >>> re.compile(r'[()](?P<x>)').groupindex {'x': 1} >>> re.compile(r'[()](?P<x>)').groupindex {'x': 1} >>> And here the buggy output of JPython: >>> re.compile(r'\\()(?P<x>)').groupindex {'x': 1} >>> re.compile(r'[()](?P<x>)').groupindex {'x': 2} >>> re.compile(r'\\(?P<x>)').groupindex Traceback (innermost last): File "<console>", line 1, in ? re.error: Sequence (?P...) not recognized >>> |
|||
msg158 (view) | Author: Finn Bock (bckfnn) | Date: 2000-12-11.18:50:23 | |
Closed when we switched to sre where the bug is solved. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2000-11-18 19:33:38 | bckfnn | create |
Supported by Python Software Foundation,
Powered by Roundup