song_pro 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/song_pro.rb +1 -1
- data/lib/song_pro/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d51559bf23b8581a8dcba60800e39aab562439dc6e46ddce858feb46a4b86be
|
4
|
+
data.tar.gz: 496d9b028ace33732b0a420b271feaa2cdf274f06e725fc5747968cd033ea325
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89ba491f7a8468cbe8746539b682461d00542d52bb17f6b68c622381c0e2399ed57b2714faa78e8496c24244bf5f623e867c51264f4a042c2f836e9162f29ca9
|
7
|
+
data.tar.gz: 36b35726800500b43630430e0b17a0cbe93a8657936eef2b8ebc19878887b9d280b8647f520efbfa8afe79b47055da6c95144cbb4faa1851b2a06f58db04ebed
|
data/lib/song_pro.rb
CHANGED
@@ -11,7 +11,7 @@ module SongPro
|
|
11
11
|
SECTION_REGEX = /#\s*([^$]*)/
|
12
12
|
ATTRIBUTE_REGEX = /@(\w*)=([^%]*)/
|
13
13
|
CUSTOM_ATTRIBUTE_REGEX = /!(\w*)=([^%]*)/
|
14
|
-
CHORDS_AND_LYRICS_REGEX = %r{(\[[\w#b
|
14
|
+
CHORDS_AND_LYRICS_REGEX = %r{(\[[\w#b+\/]+\])?([^\[]*)}i
|
15
15
|
|
16
16
|
MEASURES_REGEX = %r{([\[[\w#b\/]+\]\s]+)[|]*}i
|
17
17
|
CHORDS_REGEX = %r{\[([\w#b+\/]+)\]?}i
|
data/lib/song_pro/version.rb
CHANGED