module

SongPro

Constants

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 methods

parse(lines : String)
Source
process_attribute(song, text)
Source
process_custom_attribute(song, text)
Source
process_lyrics_and_chords(song, current_section, text)
Source
process_section(song, text)
Source