module SongPro

Defined in:

songpro.cr

Constant 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

Class Method Detail

def self.parse(lines : String) #

[View source]
def self.process_attribute(song, text) #

[View source]
def self.process_custom_attribute(song, text) #

[View source]
def self.process_lyrics_and_chords(song, current_section, text) #

[View source]
def self.process_section(song, text) #

[View source]