Barathi

Barathi

  • NA
  • 87
  • 7.8k

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)