Skip to content

Commit

Permalink
chore: get rid of spurious debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Oct 29, 2022
1 parent 6ca58cf commit 088de44
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lexer/stateful.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"errors"
"fmt"
"io"
"os"
"regexp"
"sort"
"strconv"
Expand Down Expand Up @@ -470,7 +469,6 @@ func BackrefRegex(backrefCache *sync.Map, input string, groups []string) (*regex
// concatenate the leading \\\\ which are already escaped to the quoted match.
return rematch[1][:len(rematch[1])-1] + regexp.QuoteMeta(groups[n])
})
fmt.Fprintln(os.Stderr, pattern)
if err == nil {
re, err = regexp.Compile("^(?:" + pattern + ")")
}
Expand Down

0 comments on commit 088de44

Please sign in to comment.