Ruby 1.8.7 only supports 1 param to Regexp.match()
This commit is contained in:
parent
99721ee8aa
commit
bdd84f275e
|
@ -34,8 +34,8 @@ Valid syntax:
|
||||||
eos
|
eos
|
||||||
end
|
end
|
||||||
|
|
||||||
while match = MATCHER.match(markup, pos) do
|
while match = MATCHER.match(markup) do
|
||||||
pos = match.end(0)
|
markup = markup[match.end(0)..-1]
|
||||||
|
|
||||||
if match[2]
|
if match[2]
|
||||||
value = match[2].gsub(/\\"/, '"')
|
value = match[2].gsub(/\\"/, '"')
|
||||||
|
|
Loading…
Reference in New Issue