Skip to content

Commit 983bbf1

Browse files
committed
regex
1 parent 9e3f6d5 commit 983bbf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/completions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ namespace ts.Completions {
832832
// */
833833
const lineStart = getLineStartPositionForPosition(position, sourceFile);
834834
// jsdoc tag will be listed if there is more than one whitespace after "*"
835-
const m = /^(?:\s*(?:[*\s]+(?=\s))?\s+|\s*\/\*\*\s+)(@)?$/.exec(
835+
const m = /^\s*(?:[*\s]+(?=\s)|\/\*\*)?\s+(@)?$/.exec(
836836
sourceFile.text.substring(lineStart, position)
837837
);
838838
if (m) {

0 commit comments

Comments
 (0)