Ruby 1.8.7 only supports 1 param to Regexp.match()

This commit is contained in:
maul.esel 2013-06-15 18:28:26 +02:00
parent 99721ee8aa
commit bdd84f275e
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ Valid syntax:
eos
end
while match = MATCHER.match(markup, pos) do
pos = match.end(0)
while match = MATCHER.match(markup) do
markup = markup[match.end(0)..-1]
if match[2]
value = match[2].gsub(/\\"/, '"')