hongweipeng <[email protected]> added the comment:
It's because ```re.sub('0.072', '72.0', newStringUpdated)``` match '03072' in
-0.043'03072'77670375.
`.` can match any character in regular expression.So I don't think that's a
issue.
----------
nosy: +hongweipeng
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue38016>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com