[New-bugs-announce] [issue37457] python3.7 re.split() module bug
Dami Jeong
report at bugs.python.org
Sun Jun 30 21:09:12 EDT 2019
New submission from Dami Jeong <kate.jeong at nitmus.com>:
text = "Some File Num10 example.txt"
re.split("\s*", text)
The result of the regular expression in version 3.7 changed from the version 3.6 result
python3.6 version result :
['Some', 'File', 'Num10', 'example.txt']
python3.7 version result :
['', 'S', 'o', 'm', 'e', '', 'F', 'i', 'l', 'e', '', 'N', 'u', 'm', '1', '0', '', 'e', 'x', 'a', 'm', 'p', 'l', 'e', '.', 't', 'x', 't', '']
----------
components: Regular Expressions
messages: 346949
nosy: ezio.melotti, kate, mrabarnett
priority: normal
severity: normal
status: open
title: python3.7 re.split() module bug
type: performance
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37457>
_______________________________________
More information about the New-bugs-announce
mailing list