Skip to content

Commit 9c0cd44

Browse files
cpriestblakeembrey
authored andcommitted
Update @tag capture pattern (#505)
1 parent d5fcad8 commit 9c0cd44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/converter/factories/comment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export function parseComment(text: string, comment: Comment = new Comment()): Co
164164
line = line.replace(/^\s*\*? ?/, '');
165165
line = line.replace(/\s*$/, '');
166166

167-
const tag = /^@(\w+)/.exec(line);
167+
const tag = /^@(\S+)/.exec(line);
168168
if (tag) {
169169
readTagLine(line, tag);
170170
} else {

0 commit comments

Comments
 (0)