Skip to content

Commit abd3c40

Browse files
Update tldr.l
1 parent 748c113 commit abd3c40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tldr.l

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ space [ \t]
9999
%{
100100
if (this.topState() === "title") {
101101
yytext = this.matches[1];
102-
if (this.matches[1].match(/([^\w+\[. -])|(\.$)/)) yy.error(yylloc, 'TLDR013');
102+
if (this.matches[1].match(/([^\w+\[\]}. -])|(\.$)/)) yy.error(yylloc, 'TLDR013');
103103
this.checkTrailingWhitespace(this.matches[2], yylloc);
104104
this.checkNewline(this.matches[3], yylloc);
105105
this.popState();

0 commit comments

Comments
 (0)