From 0debd16015be61f2d425b3e3a4e63086906fd5b8 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Fri, 15 Aug 2008 13:28:29 +0000 Subject: [PATCH] Tweak parsing of punctuation in lyrics --- Filters/VLLilypondType.reader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Filters/VLLilypondType.reader b/Filters/VLLilypondType.reader index efdd1c9..12b75c0 100755 --- a/Filters/VLLilypondType.reader +++ b/Filters/VLLilypondType.reader @@ -187,7 +187,7 @@ def parseLilypond INFILE.each do |line| line.chomp!.sub!(/%.*/, "") line.gsub!(/\\breve/, "1*8/4") - line.scan(%r$\G\s*(\{|\}|\(|\)|\||=|~|<<|>>|--|#'|#\(|##t|##f|\\\w+|\".*?\"|\w[-+^\w\d.',:*/]+|.)$) do |token| + line.scan(%r$\G\s*(\{|\}|\(|\)|\||=|~|<<|>>|--|#'|#\(|##t|##f|\\\w+|\".*?\"|\w[-+^\w\d.',:*/?!]+|.)$) do |token| tokens.push(token[0]) end end