fix CHORD_SUFFIXES

This commit is contained in:
STEPHANVS 2021-07-07 11:13:54 +02:00
parent 4d70d02740
commit 97c28031c2
No known key found for this signature in database
GPG Key ID: 4EFE47E471FD62A9

View File

@ -48,7 +48,7 @@ ENGLISH_NOTES = '(C|D|E|F|G|A|B|N.C.)?'
GERMAN_NOTES = '(C|D|E|F|G|A|B|H|N.C.)?' GERMAN_NOTES = '(C|D|E|F|G|A|B|H|N.C.)?'
NEOLATIN_NOTES = '(Do|Re|Mi|Fa|Sol|La|Si|N.C.)?' NEOLATIN_NOTES = '(Do|Re|Mi|Fa|Sol|La|Si|N.C.)?'
CHORD_PREFIXES = '(=|\\(|\\|)*?' CHORD_PREFIXES = '(=|\\(|\\|)*?'
CHORD_SUFFIXES = '(b|#|x|+|-|M|m|Maj|maj|min|sus|dim|add|aug|dom|0|1|2|3|4|5|6|7|8|9|\\(|\\)|no|omit)*?' CHORD_SUFFIXES = '(b|#|x|\\+|-|M|m|Maj|maj|min|sus|dim|add|aug|dom|0|1|2|3|4|5|6|7|8|9|\\(|\\)|no|omit)*?'
SLIM_CHARS = 'fiíIÍjlĺľrtť.,;/ ()|"\'!:\\' SLIM_CHARS = 'fiíIÍjlĺľrtť.,;/ ()|"\'!:\\'
CHORD_TEMPLATE = '<span class="chordline">{chord}</span>' CHORD_TEMPLATE = '<span class="chordline">{chord}</span>'
FIRST_CHORD_TEMPLATE = '<span class="chordline">{chord}</span>' FIRST_CHORD_TEMPLATE = '<span class="chordline">{chord}</span>'