mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-26 19:30:55 +01:00
16 lines
226 B
Go
16 lines
226 B
Go
//go:build !stdregex
|
|
|
|
package regexp
|
|
|
|
import (
|
|
re "github.com/wasilibs/go-re2"
|
|
)
|
|
|
|
const Version = "github.com/wasilibs/go-re2"
|
|
|
|
type Regexp = re.Regexp
|
|
|
|
func MustCompile(str string) *re.Regexp {
|
|
return re.MustCompile(str)
|
|
}
|