regexp_full_match()

Returns true if the entire string matches the regex. A set of optional regex options can be set.

Arguments & returns

2 overloads

regexp_full_match(string, regex)

Scalar
Overload link stringregex Returns
#01 VARCHARVARCHAR BOOLEAN

regexp_full_match(string, regex, col2)

Scalar
Overload link stringregexcol2 Returns
#02 VARCHARVARCHARVARCHAR BOOLEAN

Example

regexp_full_match example
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Engine example · Run to view results.

In other engines

Snowflake

SELECT a RLIKE b
In Haybarn
SELECT REGEXP_FULL_MATCH(a, b)

SQLGlot example ↗