Benjamin-Loison / cpython

The Python programming language
https://www.python.org/
Other
0 stars 0 forks source link

Reverse `re.escape` #49

Open Benjamin-Loison opened 3 weeks ago

Benjamin-Loison commented 3 weeks ago

Proposal:

DuckDuckGo and Google Reverse re.escape first page of results only mention to investigate the Stack Overflow questions 56240731, 56523535 and 58296661.

The Stack Overflow question 43662474 raises this question but actual solution is provided.

# Add a code block here, if required

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Benjamin-Loison commented 3 weeks ago
help(re.escape)
Output: ``` Help on function escape in module re: escape(pattern) Escape special characters in a string. ```