Escape - character in regex character groups (#802)

* fix char escape

* add test

* fix verbosity in make test
This commit is contained in:
Isaac Dawson authored and GitHub committed 2022-03-07 08:33:06 -06:00
1 parent 19555579c8
commit 9326f35380
5 files changed
+34 -13

No files matched your search

+2 -2
View File
@@ -6,7 +6,7 @@ LDFLAGS=-ldflags "-X=github.com/zricethezav/gitleaks/v8/cmd.Version=$(VERSION)"
COVER=--cover --coverprofile=cover.out
test-cover:
go test ./... --race $(COVER) $(PKG) -v
go test -v ./... --race $(COVER) $(PKG)
go tool cover -html=cover.out
format:
@@ -14,7 +14,7 @@ format:
test: format
go vet ./...
go test ./... --race $(PKG) -v
go test -v ./... --race $(PKG)
build: format
go vet ./...