diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2016-02-13 15:42:37 +0100 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2016-02-13 15:42:37 +0100 |
commit | 12a467ca21faad604655d5f2e7b87b42d7a30b4a (patch) | |
tree | f4780478e2493a31ad0050602a41df11a0a67492 /lib/coderay/scanners/ruby/patterns.rb | |
parent | 76ef0f0b928f49b70710a541a11c99956b86e0c3 (diff) | |
parent | 0a1f500d524ff0fb5eeafef051ccbb641954a87a (diff) | |
download | coderay-autoload.tar.gz |
Merge branch 'master' into autoloadautoload
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 | |