Skip to content

Commit

Permalink
Fixed linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
skx committed Jun 1, 2022
1 parent 056a5b5 commit d6321a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd_todo.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func (t *todoCommand) Execute(args []string) int {

// Create the capture regexp
var err error
t.reg, err = regexp.Compile("\\(([0-9/]+)\\)")
t.reg, err = regexp.Compile(`\(([0-9/]+)\)`)
if err != nil {
fmt.Printf("internal error compiling regular expression:%s\n", err)
return 1
Expand Down

0 comments on commit d6321a5

Please sign in to comment.