diff --git a/lib/ace/mode/DocCommentHighlightRules.js b/lib/ace/mode/DocCommentHighlightRules.js index 1b500c6e..915c7d29 100644 --- a/lib/ace/mode/DocCommentHighlightRules.js +++ b/lib/ace/mode/DocCommentHighlightRules.js @@ -41,7 +41,7 @@ oop.inherits(DocCommentHighlightRules, TextHighlightRules); this.getStartRule = function(start) { return { token : "comment.doc", // doc comment - regex : "\\/\\*\\*", + regex : "\\/\\*(?=\\*)", next: start }; };