lib/dnote/notes.rb in dnote-1.1.3 vs lib/dnote/notes.rb in dnote-1.1.4
- old
+ new
@@ -122,10 +122,10 @@
end
end.flatten.uniq
)
end
- #
+ # TODO: ruby-1.9.1-p378 reports: notes.rb:131:in `match': invalid byte sequence in UTF-8
def match_common(line, lineno, file)
rec = nil
labels.each do |label|
if md = /\#\s*#{Regexp.escape(label)}[:]?\s*(.*?)$/.match(line)
text = md[1]