Barathi

Barathi

  • 2k
  • 85
  • 3.2k

explain what this pattern exactly matches?

Mar 22 2021 11:44 AM
Hello guys, I've this regex pattern : re.search(r'^(.).*\b.*\b\1', str1 + ' ' + str2) So can someone explain what this pattern exactly matches?

Answers (6)