diff options
author | murphy <murphy@rubychan.de> | 2006-10-15 15:10:04 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2006-10-15 15:10:04 +0000 |
commit | f5768c09019b303e82b7b7905b137b0e1df3823c (patch) | |
tree | a0bca63a318f848c6932070b4779226520fa040c /test/scanners/ruby/quotes.in.rb | |
parent | dd1f6c2ed2fa76d8862233494519d797e9ffb488 (diff) | |
download | coderay-f5768c09019b303e82b7b7905b137b0e1df3823c.tar.gz |
Moved scanner tests into test/scanners.
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\\]/, '\\\\\&')
|