MCPcopy
hub / github.com/rgburke/grv / RegexLiteral

Struct RegexLiteral

cmd/grv/expression_processor.go:199–202  ·  view source on GitHub ↗

RegexLiteral represents a regex value

Source from the content-addressed store, hash-verified

197
198// RegexLiteral represents a regex value
199type RegexLiteral struct {
200 regex *regexp.Regexp
201 regexString *QueryToken
202}
203
204// Equal returns true if the provided expression is equal
205func (regexLiteral *RegexLiteral) Equal(expression Expression) bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected