confirmed. SRE implements $ exactly as described in the library reference, RE doesn't ;-)
All this is done to match what Perl does. :-(
patch coming within 30 minutes.
Saw it. Thanks! But I still get warnings in IDLE: Failed to load extension 'ParenMatch' Traceback (most recent call last): File "../Tools/idle/EditorWindow.py", line 529, in load_standard_extensions self.load_extension(name) File "../Tools/idle/EditorWindow.py", line 539, in load_extension mod = __import__(name, globals(), locals(), []) File "/projects/python/develop/guido/src/Tools/idle/ParenMatch.py", line 15, in ? import PyParse File "/projects/python/develop/guido/src/Tools/idle/PyParse.py", line 14, in ? _synchre = re.compile(r""" File "./../Lib/sre.py", line 54, in compile return _compile(pattern, flags) File "./../Lib/sre.py", line 86, in _compile p = sre_compile.compile(pattern, flags) File "./../Lib/sre_compile.py", line 217, in compile _compile(code, p.data, flags) File "./../Lib/sre_compile.py", line 121, in _compile emit(ATCODES[AT_MULTILINE[av]]) KeyError: at_boundary --Guido van Rossum (home page: http://www.python.org/~guido/)