diff options
author | David Kastrup <dak@gnu.org> | 2014-12-01 13:05:53 +0100 |
---|---|---|
committer | David Kastrup <dak@gnu.org> | 2014-12-06 13:26:31 +0100 |
commit | 904651acb0710f2deaca7c2bff436aa401f13eaf (patch) | |
tree | 0c1e26468d250079d0baf6b0716c4cf1de94c2c6 /python | |
parent | 18b7b506b791e3cd53191832c2daba2a8a40ab9f (diff) |
Issue 4209: Change notename csharp et al. to c-sharp et al.
Diffstat (limited to 'python')
-rw-r--r-- | python/convertrules.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/convertrules.py b/python/convertrules.py index 8ecce6f877..02f41a2366 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -3723,9 +3723,11 @@ def conv(str): str = re.sub (r'\bthin-kern\b', 'segno-kern', str) return str -@rule ((2, 19, 16), "implicitTimeSignatureVisibility -> initialTimeSignatureVisibility") +@rule ((2, 19, 16), """implicitTimeSignatureVisibility -> initialTimeSignatureVisibility +csharp -> c-sharp""") def conv(str): str = re.sub (r'\bimplicitTimeSignatureVisibility\b', 'initialTimeSignatureVisibility', str) + str = re.sub (r'\b([a-g])((?:sharp){1,2}|(?:flat){1,2})\b',r'\1-\2', str) return str # Guidelines to write rules (please keep this at the end of this file) |