From 5aa64b007ad9f15e2d7ddf7e17282a30beb46692 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Fri, 2 Mar 2007 19:49:11 -0800 Subject: [PATCH] Update some old convert-ly rules. --- python/convertrules.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/python/convertrules.py b/python/convertrules.py index 9063717600..29655917bd 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -2315,6 +2315,13 @@ 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, """pettrucci_c1 -> petrucci-c1, 1style -> single-digit""")) + def conv (str): return str -- 2.39.5