The Python Oracle

Escaping regex string

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 5 Looping

--

Chapters
00:00 Question
00:51 Accepted answer (Score 428)
01:29 Answer 2 (Score 78)
02:17 Answer 3 (Score 11)
02:45 Thank you

--

Full question
https://stackoverflow.com/questions/2804...

Accepted answer links:
[4.2.3 ]: http://docs.python.org/library/re.html#r...

Answer 2 links:
[re.escape()]: http://docs.python.org/library/re.html#r...

Answer 3 links:
[re.escape()]: https://docs.python.org/2/library/re.htm...
[re.sub()]: https://docs.python.org/2/library/re.htm...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #regex

#avk47