New submission from Dami Jeong <kate.je...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue37457>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to