Skip to content

RegexOptions

RegexOptions configures the regular-expression extension library.

readonly optional allowUnsafeNativeRegex?: 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.


readonly optional version?: number

version records the selected extension version.