• Guido van Rossum's avatar
    Fix from SF patch #633359 by Greg Chapman for SF bug #610299: · 577fb5a1
    Guido van Rossum yazdı
        The problem is in sre_compile.py: the call to
        _compile_charset near the end of _compile_info forgets to
        pass in the flags, so that the info charset is not compiled
        with re.U. (The info charset is used when searching to find
        the first character at which a match could start; it is not
        generated for patterns beginning with a repeat like '\w{1}'.)
    577fb5a1
sre_compile.py 13.9 KB