Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.rules/Condition/Companion/regularExpression

regularExpression

@JvmStatic
fun regularExpression(variable: String, regex: String): Condition

Returns an Operator that checks whether the value found at key variable, is matched by the given regex string.

Parameters

variable

the key to extract the value from for the comparison

regex

the target regex to check against


@JvmStatic
fun regularExpression(variable: JsonObjectPath, regex: String): Condition

Returns an Operator that checks whether the value found at key variable, is matched by the given regex string.

Parameters

variable

the path to the key to extract the value from for the comparison

regex

the target regex to check against

Generated by Dokka
(c) Tealium 2026