diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2016-02-13 16:47:38 +0100 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2016-02-13 16:47:38 +0100 |
commit | cec02d0af556d0a9a9defd8c29f2647045537fbb (patch) | |
tree | c4dafc63daac5b4466033615578e3aeb7f9cbb24 /lib/coderay/scanners/ruby/patterns.rb | |
parent | 3fc55739f9f4710f13c33ec1ea7e8046a20af611 (diff) | |
parent | 0a1f500d524ff0fb5eeafef051ccbb641954a87a (diff) | |
download | coderay-ruby-skip.tar.gz |
Merge branch 'master' into ruby-skipruby-skip
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 0b36e13..e5a156d 100644 --- a/lib/coderay/scanners/ruby/patterns.rb +++ b/lib/coderay/scanners/ruby/patterns.rb @@ -114,7 +114,7 @@ module Scanners # NOTE: This is not completely correct, but # nobody needs heredoc delimiters ending with \n. HEREDOC_OPEN = / - << (-)? # $1 = float + << ([-~])? # $1 = float (?: ( [A-Za-z_0-9]+ ) # $2 = delim | |