From: David Kastrup Date: Fri, 25 Nov 2011 17:39:58 +0000 (+0100) Subject: Tiny convertrule fix for occurences of 2468 inside of embedded Scheme with #{ ... #} X-Git-Tag: release/2.15.21-1~49 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a228baa1e5bb0f0d65c371e7da5076a7d8f58a5e;p=lilypond.git Tiny convertrule fix for occurences of 2468 inside of embedded Scheme with #{ ... #} --- diff --git a/python/convertrules.py b/python/convertrules.py index c10a22bb52..ae15f68e82 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -3283,7 +3283,7 @@ def paren_matcher (n): return def undollar_scm (m): - return re.sub (r"\$", "", m.group (0)) + return re.sub (r"\$(.?)", r"\1", m.group (0)) def undollar_embedded (m): str = re.sub (r"#\$", "#", m.group (1))