diff --git a/lib/ace/mode/doc_comment_highlight_rules.js b/lib/ace/mode/doc_comment_highlight_rules.js index 1cf1c0f0..98f27a29 100644 --- a/lib/ace/mode/doc_comment_highlight_rules.js +++ b/lib/ace/mode/doc_comment_highlight_rules.js @@ -48,7 +48,7 @@ var DocCommentHighlightRules = function() { regex : "@[\\w\\d_]+" // TODO: fix email addresses }, { token : "comment.doc", - regex : "\s+" + regex : "\\s+" }, { token : "comment.doc", regex : "TODO" @@ -80,7 +80,7 @@ oop.inherits(DocCommentHighlightRules, TextHighlightRules); regex : "\\*\\/", next : start }; - } + }; }).call(DocCommentHighlightRules.prototype);