summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2019-11-24 01:55:07 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2019-11-24 01:55:07 +0100
commit4c97c9165342f9c2aca99fd56cb49f8412610a0c (patch)
tree99e880a39caf5d0fab358c3179fd56f53e3d64b2 /lib
parenta351d9e26effb35e056fc6b7e9df4eb7e4ad306a (diff)
downloadcoderay-4c97c9165342f9c2aca99fd56cb49f8412610a0c.tar.gz
whitespace
Diffstat (limited to 'lib')
-rw-r--r--lib/coderay/scanners/java_script.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/coderay/scanners/java_script.rb b/lib/coderay/scanners/java_script.rb
index e8872ca..476afd9 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 = {
"'" => /[^\\']+/,
'"' => /[^\\"]+/,