Skip to content

Commit 1196b8d

Browse files
committed
redundant escape in regex
1 parent 2e6d3d6 commit 1196b8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib_src/misc/blocks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function isEnd(lineInfo: LineInfo) {
3232
if (isStringEnd(lineInfo)) {
3333
return true
3434
}
35-
return /^(end\b|\)|\]|\})/.test(lineInfo.line)
35+
return /^(end\b|\)|]|})/.test(lineInfo.line)
3636
}
3737

3838
function isStringEnd(lineInfo: LineInfo) {

0 commit comments

Comments
 (0)