Change by Ricardo Bánffy :
--
pull_requests: +16230
pull_request: https://github.com/python/cpython/pull/16647
___
Python tracker
<https://bugs.python.org/issue38
Change by Ricardo Bánffy :
--
title: re.escape no longer escapes "/" or ":" -> Documentation on 3.6->3.7
re.escape no longer escaping "/" or ":" should be obvious
___
Pytho
Change by Ricardo Bánffy :
--
components: +Regular Expressions
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issue38294>
___
___
Python-bug
Change by Ricardo Bánffy :
--
assignee: -> docs@python
components: +Documentation -Regular Expressions
nosy: +docs@python
type: behavior -> enhancement
___
Python tracker
<https://bugs.python.org/i
Ricardo Bánffy added the comment:
Indeed. It was easy to miss because of the joining and sorting. Being explicit
on the 3.7 changes, that '!', '"', '%', "'", ',', '/', ':', ';',
Ricardo Bánffy added the comment:
Thanks for the clarification, Serhiy. Should we update the 3.7 docs to warn
others about it?
--
___
Python tracker
<https://bugs.python.org/issue38
Change by Ricardo Bánffy :
--
title: re.escape seems to miss some importante regex characters -> re.escape no
longer escapes "/" or ":"
___
Python tracker
<https://
New submission from Ricardo Bánffy :
Under Python 3.6, re.escape escapes "/"
In [1]: import re
In [2]: re.escape('http://workday.com')
Out[2]: 'http\\:\\/\\/workday\\.com'
Under 3.7 and 3.8, "/" is not escaped.
In [1]: import re
In [2]: re.es