mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
3cbd56d574
commit
a4a2dd7942
1 changed files with 1 additions and 1 deletions
|
@ -824,7 +824,7 @@ class Reline::LineEditor
|
|||
# skip
|
||||
i += 2
|
||||
elsif slice =~ quote_characters_regexp # find new "
|
||||
quote = $~
|
||||
quote = $&
|
||||
closing_quote = /(?!\\)#{Regexp.escape(quote)}/
|
||||
escaped_quote = /\\#{Regexp.escape(quote)}/
|
||||
i += 1
|
||||
|
|
Loading…
Add table
Reference in a new issue