Add constants

This commit is contained in:
Raoul Snyman 2022-04-07 21:33:34 -07:00
parent 034b73496b
commit e55294c714
Signed by: raoul
GPG Key ID: F55BCED79626AE9C
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ DIRECTIVE = re.compile(r'\{(' + '|'.join([d for t in KNOWN_DIRECTIVES for d in t
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(: *(.*?))?\}')
VERSE_MARKER = re.compile(r'\{verse: *(.*?)\}')
BRIDGE_MARKER = re.compile(r'\{bridge: *(.*?)\}')
VERSE_MARKER = re.compile(r'\{verse(: *(.*?))?\}')
BRIDGE_MARKER = re.compile(r'\{bridge(: *(.*?))?\}')
CHORD_WORD = re.compile(r'(.*?)\[(.*?)\]')
CHORD = re.compile(r'\[(.*?)\]')