aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-02 17:05:26 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-02 17:05:26 +1300
commitbd10e9c78827695f924c60560358619ed94adfd2 (patch)
treeec6f7a41edaffccce7d902b7dbd5dee710c09fd1
parentMerge branch 'release/v0.08' into develop (diff)
parentTolerate one-digit seconds in lyric lines (diff)
downloadMusic-Lyrics-LRC-bd10e9c78827695f924c60560358619ed94adfd2.tar.gz
Music-Lyrics-LRC-bd10e9c78827695f924c60560358619ed94adfd2.zip
Merge branch 'feature/one-digit-second' into develop
* feature/one-digit-second: Tolerate one-digit seconds in lyric lines
-rw-r--r--lib/Music/Lyrics/LRC.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Music/Lyrics/LRC.pm b/lib/Music/Lyrics/LRC.pm
index f7f6cdc..25d94e3 100644
--- a/lib/Music/Lyrics/LRC.pm
+++ b/lib/Music/Lyrics/LRC.pm
@@ -46,7 +46,7 @@ our %RE = (
(\d+) # Minutes, capture
: # Colon
( # Seconds group, capture
- \d{2} # Whole seconds
+ \d{1,2} # Whole seconds
(?: # Group for fractional seconds
[.] # Period
\d+ # At least one digit