diff options
author | murphy <murphy@rubychan.de> | 2008-07-29 16:51:44 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2008-07-29 16:51:44 +0000 |
commit | f01dd70e76c89025d09436a5157e71b283d03c37 (patch) | |
tree | 08b631075fd74d1dddbc474a842ce4f908f9a210 /lib/coderay/scanners/ruby/patterns.rb | |
parent | 13d7eac0b77f3ca280e12422104753d7651ab047 (diff) | |
download | coderay-f01dd70e76c89025d09436a5157e71b283d03c37.tar.gz |
[KK] Just a little code cleanup and new task 187.
Diffstat (limited to 'lib/coderay/scanners/ruby/patterns.rb')
-rw-r--r-- | lib/coderay/scanners/ruby/patterns.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/ruby/patterns.rb b/lib/coderay/scanners/ruby/patterns.rb index 6f044f2..75937b7 100644 --- a/lib/coderay/scanners/ruby/patterns.rb +++ b/lib/coderay/scanners/ruby/patterns.rb @@ -49,7 +49,7 @@ module Scanners CLASS_VARIABLE = / @@ #{IDENT} /ox OBJECT_VARIABLE = / @@? #{IDENT} /ox GLOBAL_VARIABLE = / \$ (?: #{IDENT} | [1-9]\d* | 0\w* | [~&+`'=\/,;_.<>!@$?*":\\] | -[a-zA-Z_0-9] ) /ox - PREFIX_VARIABLE = / #{GLOBAL_VARIABLE} |#{OBJECT_VARIABLE} /ox + PREFIX_VARIABLE = / #{GLOBAL_VARIABLE} | #{OBJECT_VARIABLE} /ox VARIABLE = / @?@? #{IDENT} | #{GLOBAL_VARIABLE} /ox QUOTE_TO_TYPE = { |