Skip to content

Commit ca33a95

Browse files
authored
Allow X in addition to x in tasks (#10979)
Signed-off-by: Andrew Thornton <[email protected]>
1 parent f072d45 commit ca33a95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/issue.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ var (
7373
issueTasksDonePat *regexp.Regexp
7474
)
7575

76-
const issueTasksRegexpStr = `(^\s*[-*]\s\[[\sx]\]\s.)|(\n\s*[-*]\s\[[\sx]\]\s.)`
77-
const issueTasksDoneRegexpStr = `(^\s*[-*]\s\[[x]\]\s.)|(\n\s*[-*]\s\[[x]\]\s.)`
76+
const issueTasksRegexpStr = `(^\s*[-*]\s\[[\sxX]\]\s.)|(\n\s*[-*]\s\[[\sxX]\]\s.)`
77+
const issueTasksDoneRegexpStr = `(^\s*[-*]\s\[[xX]\]\s.)|(\n\s*[-*]\s\[[xX]\]\s.)`
7878
const issueMaxDupIndexAttempts = 3
7979
const maxIssueIDs = 950
8080

0 commit comments

Comments
 (0)