notLikeRegexp

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

Creates a Specification that checks if the property does not match the given POSIX regex pattern (case-sensitive).

Return

A Specification that checks if the property does not match the pattern.

Parameters

pattern

The POSIX regex pattern to match against.

Type Parameters

T

the type of the entity.


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

Creates a Specification that checks if the property does not match the given POSIX regex pattern, case-sensitive (nullable version).

Return

A Specification that checks if the property does not match 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>.notLikeRegexp(pattern: String): Specification<ROOT>(source)

Creates a Specification that checks if the nested String property does not match the given POSIX regex pattern (case-sensitive).

Return

A Specification that checks if the nested property does not match the pattern.

Parameters

pattern

The POSIX regex pattern to match against.

Type Parameters

ROOT

the root entity type.


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

Creates a Specification that checks if the nested nullable String property does not match the given POSIX regex pattern, case-sensitive (nullable version).

Return

A Specification that checks if the nested property does not match the pattern.

Parameters

pattern

The POSIX regex pattern to match against.

Type Parameters

ROOT

the root entity type.