str = re.sub (r'\bimplicitTimeSignatureVisibility\b', 'initialTimeSignatureVisibility', str)
str = re.sub ('(' + before_id + r'[a-g])((?:sharp){1,2}|(?:flat){1,2})'
+ after_id, r'\1-\2', str)
- str = re.sub (r'\\shiftOff\b', r'\\undo\\shiftOn', str)
return str
# Guidelines to write rules (please keep this at the end of this file)