• Jakub Wilk's avatar
    Fix incorrect use of flags in re.sub() · 8c579988
    Jakub Wilk authored
    The 4th argument of re.sub() is maximum number of substitutions, not
    flags.
    
    re.M affects only semantics of ^ and $, so it wouldn't have any effect
    on this regexp.
    8c579988
extstarargs.pyx 3.39 KB