Add a CHORD regular expression

This commit is contained in:
Raoul Snyman 2021-07-30 11:19:20 -07:00
parent ba2e2e5ee9
commit dc5eedb8f4
1 changed files with 1 additions and 0 deletions

View File

@ -34,3 +34,4 @@ START_OF = re.compile(r'\{start_of_(' + '|'.join(KNOWN_VERSE_TYPES) + r')(: *(.*
END_OF = re.compile(r'\{end_of_(' + '|'.join(KNOWN_VERSE_TYPES) + r')\}')
CHORUS_MARKER = re.compile(r'\{chorus(: *(.*?))?\}')
CHORD_WORD = re.compile(r'(.*?)\[(.*?)\]')
CHORD = re.compile(r'\[(.*?)\]')