The Python Oracle

How to use regex to tell if first and last character of a string match?

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: Quiet Intelligence

--

Chapters
00:00 Question
00:48 Accepted answer (Score 6)
01:54 Answer 2 (Score 5)
02:14 Answer 3 (Score 2)
02:44 Answer 4 (Score 1)
03:05 Thank you

--

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

Accepted answer links:
https://regex101.com/r/DaOPEl/1/

--

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

--

Tags
#python #regex #string

#avk47