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
|
||||
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(/\\"/, '"')
|
||||
|
|
Loading…
Reference in New Issue