diff options
Diffstat (limited to 'test/scanners/ruby/regexp.in.rb')
-rw-r--r-- | test/scanners/ruby/regexp.in.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/scanners/ruby/regexp.in.rb b/test/scanners/ruby/regexp.in.rb new file mode 100644 index 0000000..956e6b8 --- /dev/null +++ b/test/scanners/ruby/regexp.in.rb @@ -0,0 +1,5 @@ +# Regexp or division? +some_string.to_i /\s+/ +some_string.split / +/ this is a regexp after a division / +some_string.split / + / this one, too / +some_string.split /- / # and this one is a regexp without division
\ No newline at end of file |