[New-bugs-announce] [issue27586] Is this a regular expression library bug?

Bruce Eckel report at bugs.python.org
Thu Jul 21 17:03:42 EDT 2016


New submission from Bruce Eckel:

This looks suspicious to me, like it could be a library bug, but before chasing it down I was hoping someone might be able to tell me whether I might be on to something:

Traceback (most recent call last):
  File "update_extracted_example_output.py", line 22, in <module>
    new_javatext = find_output.sub(new_output, javatext)
  File "C:\Python35\lib\re.py", line 325, in _subx
    template = _compile_repl(template, pattern)
  File "C:\Python35\lib\re.py", line 312, in _compile_repl
    p = sre_parse.parse_template(repl, pattern)
  File "C:\Python35\lib\sre_parse.py", line 872, in parse_template
    raise s.error("missing <")
sre_constants.error: missing < at position 100 (line 4, column 41)

----------
components: Library (Lib)
messages: 270956
nosy: Bruce Eckel
priority: normal
severity: normal
status: open
title: Is this a regular expression library bug?
type: compile error
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27586>
_______________________________________


More information about the New-bugs-announce mailing list