8000 provoke RubyCop · rubychan/coderay@37a21e2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 37a21e2

Browse files
committed
provoke RubyCop
1 parent 5233abf commit 37a21e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/coderay/scanners/java_script.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class JavaScript < Scanner
4242
ESCAPE = / [bfnrtv\n\\'"] | x[a-fA-F0-9]{1,2} | [0-7]{1,3} /x # :nodoc:
4343
UNICODE_ESCAPE = / u[a-fA-F0-9]{4} | U[a-fA-F0-9]{8} /x # :nodoc:
4444
REGEXP_ESCAPE = / [bBdDsSwW] /x # :nodoc:
45-
STRING_CONTENT_PATTERN = {
45+
STRING_CONTENT_PATTERN = {
4646
"'" => /[^\\']+/,
4747
'"' => /[^\\"]+/,
4848
'/' => %r{ (?: [^\\/\[]+ | \[ ([^\]\\]+ | \\.)* \]? )+ }mx,

0 commit comments

Comments
 (0)
0