MCPcopy Create free account
hub / github.com/cel-expr/cel-go / RegexVersion

Function RegexVersion

ext/regex.go:119–124  ·  view source on GitHub ↗

RegexVersion configures the version of the Regex library definitions to use. See [Regex] for supported values.

(version uint32)

Source from the content-addressed store, hash-verified

117
118// RegexVersion configures the version of the Regex library definitions to use. See [Regex] for supported values.
119func RegexVersion(version uint32) RegexOptions {
120 return func(lib *regexLib) *regexLib {
121 lib.version = version
122 return lib
123 }
124}
125
126type regexLib struct {
127 version uint32

Callers 2

TestRegexVersionFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestRegexVersionFunction · 0.68