Add constants
This commit is contained in:
parent
034b73496b
commit
e55294c714
@ -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')(: *(.*?))?\}')
|
START_OF = re.compile(r'\{start_of_(' + '|'.join(KNOWN_VERSE_TYPES) + r')(: *(.*?))?\}')
|
||||||
END_OF = re.compile(r'\{end_of_(' + '|'.join(KNOWN_VERSE_TYPES) + r')\}')
|
END_OF = re.compile(r'\{end_of_(' + '|'.join(KNOWN_VERSE_TYPES) + r')\}')
|
||||||
CHORUS_MARKER = re.compile(r'\{chorus(: *(.*?))?\}')
|
CHORUS_MARKER = re.compile(r'\{chorus(: *(.*?))?\}')
|
||||||
VERSE_MARKER = re.compile(r'\{verse: *(.*?)\}')
|
VERSE_MARKER = re.compile(r'\{verse(: *(.*?))?\}')
|
||||||
BRIDGE_MARKER = re.compile(r'\{bridge: *(.*?)\}')
|
BRIDGE_MARKER = re.compile(r'\{bridge(: *(.*?))?\}')
|
||||||
CHORD_WORD = re.compile(r'(.*?)\[(.*?)\]')
|
CHORD_WORD = re.compile(r'(.*?)\[(.*?)\]')
|
||||||
CHORD = re.compile(r'\[(.*?)\]')
|
CHORD = re.compile(r'\[(.*?)\]')
|
||||||
|
Loading…
Reference in New Issue
Block a user