RegexOptions
RegexOptions configures the regular-expression extension library.
Properties
Section titled “Properties”allowUnsafeNativeRegex?
Section titled “allowUnsafeNativeRegex?”
readonlyoptionalallowUnsafeNativeRegex?:boolean
Enables native JavaScript extraction and replacement for trusted patterns and inputs only. Native matching can backtrack without a runtime bound and cannot be interrupted by CEL cost limits. Defaults to false until capture-capable RE2 execution is available.
version?
Section titled “version?”
readonlyoptionalversion?:number
version records the selected extension version.