]> granicus.if.org Git - python/commit
Fix from SF patch #633359 by Greg Chapman for SF bug #610299:
authorGuido van Rossum <guido@python.org>
Mon, 24 Feb 2003 01:18:35 +0000 (01:18 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 24 Feb 2003 01:18:35 +0000 (01:18 +0000)
commit577fb5a1db508444eed7bd78fbf76c1f64ed643b
tree8aab690279d808e29afd8740ce06768e51eb08a9
parent902a671c7bdaa413670649806776a8dc9000d2a8
Fix from SF patch #633359 by Greg Chapman for SF bug #610299:
    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}'.)
Lib/sre_compile.py
Lib/test/re_tests.py