X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=python%2Fconvertrules.py;h=1cd2d4e76660dd61beab4e3662a5a7a5db80d494;hb=d597f527bf974e5e758b89b76894fb92744106d5;hp=906371760097b598a7de51864a4d1e2fd3d45ce8;hpb=c3ff1c6cd20e15e9036ee7120012e05b1d62a46d;p=lilypond.git diff --git a/python/convertrules.py b/python/convertrules.py index 9063717600..1cd2d4e766 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -2315,6 +2315,15 @@ conversions.append (((2, 3, 24), conv, '''regularize other identifiers.''')) +def conv (str): + str = re.sub ('petrucci_c1', 'petrucci-c1', str) + str = re.sub ('1style', 'single-digit', str) + return str + +conversions.append (((2, 3, 25), + conv, + '''petrucci_c1 -> petrucci-c1, 1style -> single-digit''')) + def conv (str): return str