fix typo
This commit is contained in:
parent
c21a5fe4e0
commit
6dbfcaa3a9
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ var JavaScriptHighlightRules = function() {
|
|||
var kwBeforeRe = "case|do|else|finally|in|instanceof|return|throw|try|typeof|yield";
|
||||
|
||||
// TODO: Unicode escape sequences
|
||||
var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\d\\$_\u00a1-\uffff]*\\b";
|
||||
var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*\\b";
|
||||
|
||||
var escapedRe = "\\\\(?:x[0-9a-fA-F]{2}|" + // hex
|
||||
"u[0-9a-fA-F]{4}|" + // unicode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue