From: Keith OHara Date: Wed, 30 Oct 2013 06:58:47 +0000 (-0700) Subject: convert-ly: stricter pattern for one rule X-Git-Tag: release/2.17.95-1~4^2~14 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6717f780709c30c6f75f46e8143edf5c6ce14593;p=lilypond.git convert-ly: stricter pattern for one rule --- diff --git a/python/convertrules.py b/python/convertrules.py index 9161973767..e2eb3baa4a 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -3667,7 +3667,7 @@ def conv(str): def conv(str): str = re.sub (r"\\stringTuning\s*\\notemode(\s*)@?\{\s*(.*?)\s*@?}", r"\\stringTuning\1\2", str) - if re.search (r'\bstaff-padding\b', str): + if re.search (r'[^-\w]staff-padding[^-\w]', str): stderr_write (NOT_SMART % "staff-padding") stderr_write (_ ("Staff-padding now controls the distance to the baseline, not the nearest point.")) return str