remove requirement on trailing character after check box

This commit is contained in:
Robert Wolff 2024-07-11 18:54:44 +02:00
parent a96b86778f
commit 9f461e180a

View file

@ -153,8 +153,8 @@ type Issue struct {
}
var (
issueTasksPat = regexp.MustCompile(`(^\s*[-*]\s*\[[\sxX]\].)|(\n\s*[-*]\s*\[[\sxX]\].)`)
issueTasksDonePat = regexp.MustCompile(`(^\s*[-*]\s*\[[xX]\].)|(\n\s*[-*]\s*\[[xX]\].)`)
issueTasksPat = regexp.MustCompile(`(^\s*[-*]\s*\[[\sxX]\])|(\n\s*[-*]\s*\[[\sxX]\])`)
issueTasksDonePat = regexp.MustCompile(`(^\s*[-*]\s*\[[xX]\])|(\n\s*[-*]\s*\[[xX]\])`)
)
// IssueIndex represents the issue index table