github.com/chainreactors/fingers@v1.2.1/fingers/regexp_default.go (about) 1 //go:build goregexp 2 // +build goregexp 3 4 package fingers 5 6 import "regexp" 7 8 func compileRegexp(s string) (CompiledRegexp, error) { 9 return regexp.Compile(s) 10 }