7: SyntaxWarning: invalid escape sequence '\W' x = re.findall("\W", str) [' ', ' ', ' '] Yes, there is at least one match!