MCPcopy
hub / github.com/cayleygraph/cayley / Regexp

Struct Regexp

graph/shape/shape.go:344–347  ·  view source on GitHub ↗

Regexp filters values using regular expression. Since regexp patterns can not be optimized in most cases, Wildcard should be used if possible.

Source from the content-addressed store, hash-verified

342//
343// Since regexp patterns can not be optimized in most cases, Wildcard should be used if possible.
344type Regexp struct {
345 Re *regexp.Regexp
346 Refs bool // allow to match IRIs
347}
348
349func (f Regexp) BuildIterator(qs graph.QuadStore, it graph.Iterator) graph.Iterator {
350 if f.Refs {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected