Skip to content

Commit 20707dd

Browse files
committed
[JavaScript] fix string-content regex readability
1 parent 95db06b commit 20707dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JavaScript/JavaScript.sublime-syntax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,7 @@ contexts:
14341434
string-content:
14351435
- match: \\\n
14361436
scope: constant.character.escape.newline.js
1437-
- match: \\(?:x\h\h|u\h\h\h\h|.)
1437+
- match: \\(?:x\h{2}|u\h{4}|.)
14381438
scope: constant.character.escape.js
14391439

14401440
string-interpolations:

0 commit comments

Comments
 (0)