Selaa lähdekoodia

Allow X in addition to x in tasks (#10979) (#11335)

Signed-off-by: Andrew Thornton <art27@cantab.net>
tags/v1.11.5
zeripath 4 vuotta sitten
vanhempi
commit
f3a90057a5
No account linked to committer's email address
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2
    2
      models/issue.go

+ 2
- 2
models/issue.go Näytä tiedosto

@@ -74,8 +74,8 @@ var (
issueTasksDonePat *regexp.Regexp
)

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

func init() {

Loading…
Peruuta
Tallenna