Skip to content

Commit f3a9005

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

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
@@ -74,8 +74,8 @@ var (
7474
issueTasksDonePat *regexp.Regexp
7575
)
7676

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

8181
func init() {

0 commit comments

Comments
 (0)