ilikeRegexp

fun <T : Any> KProperty1<T, String>.ilikeRegexp(pattern: String): Specification<T>(source)

Creates a Specification that checks if the property matches the given POSIX regex pattern, ignoring case sensitivity.

Return

A Specification that checks if the property matches the pattern.

Parameters

pattern

The POSIX regex pattern to match against.

Type Parameters

T

the type of the entity.


@JvmName(name = "ilikeRegexpNullable")
fun <T : Any> KProperty1<T, String?>.ilikeRegexp(pattern: String): Specification<T>(source)

Creates a Specification that checks if the property matches the given POSIX regex pattern, ignoring case sensitivity (nullable version).

Return

A Specification that checks if the property matches the pattern.

Parameters

pattern

The POSIX regex pattern to match against.

Type Parameters

T

the type of the entity.


fun <ROOT : Any> NestedProperty<ROOT, String>.ilikeRegexp(pattern: String): Specification<ROOT>(source)

Creates a Specification that checks if the nested String property matches the given POSIX regex pattern, ignoring case sensitivity.

Return

A Specification that checks if the nested property matches the pattern.

Parameters

pattern

The POSIX regex pattern to match against.

Type Parameters

ROOT

the root entity type.


@JvmName(name = "nestedIlikeRegexpNullable")
fun <ROOT : Any> NestedProperty<ROOT, String?>.ilikeRegexp(pattern: String): Specification<ROOT>(source)

Creates a Specification that checks if the nested nullable String property matches the given POSIX regex pattern, ignoring case sensitivity (nullable version).

Return

A Specification that checks if the nested property matches the pattern.

Parameters

pattern

The POSIX regex pattern to match against.

Type Parameters

ROOT

the root entity type.