• Guido van Rossum's avatar
    Temporary fix for Bug #114821. · f8d07133
    Guido van Rossum yazdı
    The cause was that the replace code necessarily used a PCRE internal
    function to to template expansion.
    
    The fix changes the code to use an SRE internal if SRE is used, and a
    PCRE internal if SRE is used; in a way that should work with 1.5.2.
    
    The solution can be sped up tremendously under the assumption that the
    choice between sre and pre is not changed during the execution of the
    program; especially replace-all will be slow.
    
    But I'll leave that to someone else.
    f8d07133
ReplaceDialog.py 5.84 KB