github.com/chainreactors/fingers@v1.2.1/fingers/regexp_iface.go (about) 1 package fingers 2 3 type CompiledRegexp interface { 4 FindSubmatch(b []byte) [][]byte 5 FindAllString(s string, n int) []string 6 Match(b []byte) bool 7 String() string 8 }