MCPcopy Create free account
hub / github.com/google/codesearch / anyMatch

Function anyMatch

index/regexp.go:382–389  ·  view source on GitHub ↗

anyMatch returns the regexpInfo describing a regexp that matches any string.

()

Source from the content-addressed store, hash-verified

380// anyMatch returns the regexpInfo describing a regexp that
381// matches any string.
382func anyMatch() regexpInfo {
383 return regexpInfo{
384 canEmpty: true,
385 prefix: []string{""},
386 suffix: []string{""},
387 match: allQuery,
388 }
389}
390
391// anyChar returns the regexpInfo describing a regexp that
392// matches any single character.

Callers 1

analyzeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…