Ad
  • Custom User Avatar

    re.search doesn't match the entire string. If part of the string matches, it works.

    Your solution will also fail for "no no", "not_correct#!@*".
    Or any other string with the correct starting but errors before the end.