diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2019-11-24 15:22:21 +0100 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2019-11-24 15:22:21 +0100 |
commit | b5b3430d4635682b767c44469e28a70fe234187e (patch) | |
tree | 97eeeea923848158dfedd8e60142511a72839363 /lib/coderay/scanners/java_script.rb | |
parent | 591c67b65dc4daada24ed1809605e9cbcfb3336b (diff) | |
download | coderay-b5b3430d4635682b767c44469e28a70fe234187e.tar.gz |
fix spaces around operators (RuboCop)
Diffstat (limited to 'lib/coderay/scanners/java_script.rb')
-rw-r--r-- | lib/coderay/scanners/java_script.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/coderay/scanners/java_script.rb b/lib/coderay/scanners/java_script.rb index 5e27813..8c13d4f 100644 --- a/lib/coderay/scanners/java_script.rb +++ b/lib/coderay/scanners/java_script.rb @@ -40,8 +40,8 @@ module Scanners add(KEYWORDS, :keyword) # :nodoc: ESCAPE = / [bfnrtv\n\\'"] | x[a-fA-F0-9]{1,2} | [0-7]{1,3} /x # :nodoc: - UNICODE_ESCAPE = / u[a-fA-F0-9]{4} | U[a-fA-F0-9]{8} /x # :nodoc: - REGEXP_ESCAPE = / [bBdDsSwW] /x # :nodoc: + UNICODE_ESCAPE = / u[a-fA-F0-9]{4} | U[a-fA-F0-9]{8} /x # :nodoc: + REGEXP_ESCAPE = / [bBdDsSwW] /x # :nodoc: STRING_CONTENT_PATTERN = { "'" => /[^\\']+/, '"' => /[^\\"]+/, |