If the pattern isn’t found, string is returned unchanged. Only supports splitting by whitespace or by a fixed string. As you’d expect, there’s a module-levelre.split() function, too. As extensions, the pattern would get even more complicated and confusing. This is the opposite of the positive assertion; it succeeds if the contained expression doesn’t match at […]