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

Function RegexVersion

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

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

Callers 2

TestRegexVersionFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestRegexVersionFunction · 0.68