explain what this pattern exactly matches?
Hello guys, I've this regex pattern :
re.search(r'^(.).*\b.*\b\1', str1 + ' ' + str2)
So can someone explain what this pattern exactly matches?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
BarathiPosted Mar 23, 2021, 5:08 AM
Rijwan AnsariPosted Mar 23, 2021, 4:40 AM
Rajanikant HawaldarPosted Mar 22, 2021, 5:45 PM
Satya KarkiPosted Mar 22, 2021, 1:03 PM
Kiran MohantyPosted Mar 22, 2021, 12:04 PM
Rohit GuptaPosted Mar 22, 2021, 11:53 AM