]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix convert rule.
authorNeil Puttock <n.puttock@gmail.com>
Mon, 7 Jun 2010 21:58:23 +0000 (22:58 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Mon, 7 Jun 2010 21:58:23 +0000 (22:58 +0100)
python/convertrules.py

index e3d4f6d13689fa5502ae4ecbc811d8abbde9dd1c..465eead803e645a7d86f28e114aeacf093dde8a5 100644 (file)
@@ -3002,7 +3002,7 @@ def conv(str):
 @rule ((2, 13, 20),
        _ ("\\cresc etc. are now postfix operators"))
 def conv (str):
-    str = re.sub (r'\\(cresc|dim|endcresc|enddim\w+)', r'\\deprecated\1', str)
+    str = re.sub (r'\\(cresc|dim|endcresc|enddim)\b', r'\\deprecated\1', str)
     return str
 
 # Guidelines to write rules (please keep this at the end of this file)