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