From 6717f780709c30c6f75f46e8143edf5c6ce14593 Mon Sep 17 00:00:00 2001 From: Keith OHara Date: Tue, 29 Oct 2013 23:58:47 -0700 Subject: [PATCH] convert-ly: stricter pattern for one rule --- python/convertrules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2