]> granicus.if.org Git - python/commit
The test for re.engine was misfiring because re.engine is no longer
authorGuido van Rossum <guido@python.org>
Wed, 24 Jul 2002 01:49:16 +0000 (01:49 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 24 Jul 2002 01:49:16 +0000 (01:49 +0000)
commit77f6ccd1f7a692d3701797d79f36113d9a94c717
tree92f871f732aa8c1dca761f86394c1fc539c7a523
parent9e4e050c594cc6b56d683267b97b339a274bb31c
The test for re.engine was misfiring because re.engine is no longer
defined and the default was "pre" instead of "sre".  Give up on 1.5.2
compatibility, hardcode the sre solution.  However, this XXX comment
still applies, AFAIK:
        # XXX This code depends on internals of the regular expression
        # engine!  There's no standard API to do a substitution when you
        # have already found the match.  One should be added.
Tools/idle/ReplaceDialog.py