• Just van Rossum's avatar
    Fix and test for bug #764548: · af9fce7d
    Just van Rossum authored
    Use isinstance() instead of comparing types directly, to enable
    subclasses of str and unicode to be used as patterns.
    Blessed by /F.
    af9fce7d
sre_compile.py 14.7 KB