[issue37594] re does not honor matching trailing multiple periods

brent s. report at bugs.python.org
Sun Jul 14 15:34:49 EDT 2019


brent s. <brent.saner at gmail.com> added the comment:

WORKAROUND:

Obviously, str.rstrip('.') still works, but this is of course quite inflexible compared to a regex pattern.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37594>
_______________________________________


More information about the Python-bugs-list mailing list