fix regex

This commit is contained in:
ukyo 2012-06-09 00:07:06 +09:00
commit 91df64cbda

View file

@ -63,7 +63,7 @@ define(function(require, exports, module) {
"text", "text",
"entity.name.function" "entity.name.function"
], ],
regex : "(function)(\\s*)(" + identifierRe + ")" regex : "(function)(\\s+)(" + identifierRe + ")"
}, { }, {
token : function(value) { token : function(value) {
if (value == "this") if (value == "this")