Regexp filters values using regular expression. Since regexp patterns can not be optimized in most cases, Wildcard should be used if possible.
| 342 | // |
| 343 | // Since regexp patterns can not be optimized in most cases, Wildcard should be used if possible. |
| 344 | type Regexp struct { |
| 345 | Re *regexp.Regexp |
| 346 | Refs bool // allow to match IRIs |
| 347 | } |
| 348 | |
| 349 | func (f Regexp) BuildIterator(qs graph.QuadStore, it graph.Iterator) graph.Iterator { |
| 350 | if f.Refs { |
nothing calls this directly
no outgoing calls
no test coverage detected