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

Function RegexVersion

ext/regex.go:116–121  ·  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

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

Callers 2

initExtFactoriesFunction · 0.85
TestRegexVersionFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestRegexVersionFunction · 0.68