Applies to: Databricks SQL Databricks Runtime 10.0 and above
Returns true if
regex. regexp is a synonym for rlike operator.
str: A STRING expression to be matched.
regex: A STRING expression with a matching pattern.
regex string must be a Java regular expression.
String literals are unescaped. For example, to match
'\abc', a regular expression for
regex can be
str NOT regexp ... is equivalent to
NOT(str regexp ...).