regexp.Regexp.FindStringSubmatch (method)
50 uses
regexp (current package)
regexp.go#L1037: func (re *Regexp) FindStringSubmatch(s string) []string {
cloud.google.com/go/storage
notifications.go#L100: matches := topicRE.FindStringSubmatch(nt)
storage.go#L361: headerMatches := canonicalHeaderRegexp.FindStringSubmatch(sanitizedHeader)
github.com/aws/aws-sdk-go/aws/awsutil
path_value.go#L42: if m := indexRe.FindStringSubmatch(c); m != nil {
github.com/aws/aws-sdk-go/aws/corehandlers
handlers.go#L143: if s := reStatusCode.FindStringSubmatch(e.Err.Error()); s != nil {
github.com/evanw/esbuild/pkg/api
api_impl.go#L260: if match := versionRegex.FindStringSubmatch(engine.Version); match != nil {
github.com/go-git/go-git/v5/internal/url
url.go#L27: m := scpLikeUrlRegExp.FindStringSubmatch(url)
github.com/golang-migrate/migrate/v4/source
parse.go#L25: m := Regex.FindStringSubmatch(raw)
github.com/google/pprof/profile
legacy_java_profile.go#L117: h := attributeRx.FindStringSubmatch(line)
legacy_java_profile.go#L173: sample := javaSampleRx.FindStringSubmatch(line)
legacy_java_profile.go#L257: jloc := javaLocationRx.FindStringSubmatch(line)
legacy_java_profile.go#L273: if fileLine := javaLocationFileLineRx.FindStringSubmatch(jloc[2]); len(fileLine) == 4 {
legacy_java_profile.go#L279: } else if filePath := javaLocationPathRx.FindStringSubmatch(jloc[2]); len(filePath) == 3 {
legacy_profile.go#L87: m := countStartRE.FindStringSubmatch(s.Text())
legacy_profile.go#L106: m := countRE.FindStringSubmatch(line)
legacy_profile.go#L479: if header := heapHeaderRE.FindStringSubmatch(line); header != nil {
legacy_profile.go#L484: } else if header = growthHeaderRE.FindStringSubmatch(line); header != nil {
legacy_profile.go#L486: } else if header = fragmentationHeaderRE.FindStringSubmatch(line); header != nil {
legacy_profile.go#L557: header := heapHeaderRE.FindStringSubmatch(line)
legacy_profile.go#L586: sampleData := heapSampleRE.FindStringSubmatch(line)
legacy_profile.go#L801: sampleData := contentionSampleRE.FindStringSubmatch(line)
legacy_profile.go#L843: if m := threadzStartRE.FindStringSubmatch(line); m != nil {
legacy_profile.go#L850: } else if t := threadStartRE.FindStringSubmatch(line); len(t) != 4 {
legacy_profile.go#L867: if t := threadStartRE.FindStringSubmatch(line); len(t) != 4 {
legacy_profile.go#L1043: if me := procMapsRE.FindStringSubmatch(l); len(me) == 6 {
legacy_profile.go#L1045: } else if me := briefMapsRE.FindStringSubmatch(l); len(me) == 7 {
profile.go#L258: if len(libRx.FindStringSubmatch(file)) > 0 {
github.com/google/safehtml
stylesheet.go#L53: if matches := invalidCSSSelectorRune.FindStringSubmatch(selectorWithoutStrings); matches != nil {
url.go#L120: submatches := dataURLPattern.FindStringSubmatch(url)
github.com/prometheus/common/model
time.go#L189: matches := durationRE.FindStringSubmatch(durationStr)
github.com/prometheus/procfs
mdstat.go#L164: matches := statusLineRE.FindStringSubmatch(statusLine)
mdstat.go#L183: matches := recoveryLineRE.FindStringSubmatch(recoveryLine)
proc_fdinfo.go#L60: pos = rPos.FindStringSubmatch(text)[1]
proc_fdinfo.go#L62: flags = rFlags.FindStringSubmatch(text)[1]
proc_fdinfo.go#L64: mntid = rMntID.FindStringSubmatch(text)[1]
proc_fdinfo.go#L100: m := r.FindStringSubmatch(line)
schedstat.go#L71: match := cpuLineRE.FindStringSubmatch(scanner.Text())
schedstat.go#L99: match := procLineRE.FindStringSubmatch(contents)
zoneinfo.go#L96: if nodeZone := nodeZoneRE.FindStringSubmatch(line); nodeZone != nil {
github.com/sergi/go-diff/diffmatchpatch
patch.go#L497: m := patchHeader.FindStringSubmatch(text[textPointer])
go.opencensus.io/resource
resource.go#L72: match := labelRegex.FindStringSubmatch(s)
go.opentelemetry.io/otel/api/trace
trace_context_propagator.go#L88: matches := traceCtxRegExp.FindStringSubmatch(h)
golang.org/x/mod/internal/lazyregexp
lazyre.go#L39: return r.re().FindStringSubmatch(s)
golang.org/x/pkgsite/internal/source
source.go#L343: matches := pat.re.FindStringSubmatch(moduleOrRepoPath)
golang.org/x/pkgsite/internal/stdlib
stdlib.go#L72: m := tagRegexp.FindStringSubmatch(tag)
google.golang.org/grpc/internal/binarylog
env_config.go#L147: match := longMethodConfigRegexp.FindStringSubmatch(c)
env_config.go#L165: if match := headerConfigRegexp.FindStringSubmatch(c); match != nil {
env_config.go#L177: if match := messageConfigRegexp.FindStringSubmatch(c); match != nil {
env_config.go#L189: if match := headerMessageConfigRegexp.FindStringSubmatch(c); match != nil {
internal/lazyregexp
lazyre.go#L39: return r.re().FindStringSubmatch(s)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |