diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2016-02-13 13:44:18 +0100 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2016-02-13 13:44:18 +0100 |
commit | a14639c31bbe33c23853a66d6feb817da4248e1a (patch) | |
tree | 7da307f5d3bba84658fbc9c255946f059851bd6e /lib | |
parent | 998d1fc874d28759f5b9e4376a0e82809c8fc828 (diff) | |
download | coderay-a14639c31bbe33c23853a66d6feb817da4248e1a.tar.gz |
don't ruin indentation
Diffstat (limited to 'lib')
-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 3dd6ad5..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 | |