regexp

open fun <T : String?> regexp(expr1: Expression<T>, pattern: Expression<String>, caseSensitive: Boolean, queryBuilder: QueryBuilder)

SQL function that performs a pattern match of a given string expression against a given pattern.

Parameters

expr1

String expression to test.

pattern

Pattern to match against.

caseSensitive

Whether the matching is case-sensitive or not.

queryBuilder

Query builder to append the SQL function to.