diff options
Diffstat (limited to 'test/scanners/ruby/quotes.in.rb')
-rw-r--r-- | test/scanners/ruby/quotes.in.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/scanners/ruby/quotes.in.rb b/test/scanners/ruby/quotes.in.rb new file mode 100644 index 0000000..8c38e1f --- /dev/null +++ b/test/scanners/ruby/quotes.in.rb @@ -0,0 +1,3 @@ +puts %}#{%}b#{%}r}*5}}*7}, immer wieder\n}*5
+
+print "test\n\\\\".gsub(/[\n\\]/, '\\\\\&')
|