module SongPro
Defined in:
songpro.crConstant Summary
-
ATTRIBUTE_REGEX =
/@(\w*)=([^%]*)/
-
CHORDS_AND_LYRICS_REGEX =
/(\[[\w#b+\/]+\])?([^\[]*)/i
-
CHORDS_REGEX =
/\[([\w#b+\/]+)\]?/i
-
COMMENT_REGEX =
/>\s*([^$]*)/
-
CUSTOM_ATTRIBUTE_REGEX =
/!(\w*)=([^%]*)/
-
MEASURES_REGEX =
/([[\w#b\/\]+\]\s]+)[|]*/i
-
SECTION_REGEX =
/#\s*([^$]*)/
-
VERSION =
"0.1.11"
Class Method Summary
- .parse(lines : String)
- .process_attribute(song, text)
- .process_custom_attribute(song, text)
- .process_lyrics_and_chords(song, current_section, text)
- .process_section(song, text)