Like

data class Like(val key: String, val pattern: String) : PropertyFilter

Regex pattern match: propertieskey.toString().matches(Regex(pattern))

Uses Java/Kotlin regex syntax. For case-insensitive matching, use the (?i) flag at the start of the pattern.

Constructors

Link copied to clipboard
constructor(key: String, pattern: String)

Properties

Link copied to clipboard
val key: String
Link copied to clipboard

Functions

Link copied to clipboard
open infix fun and(other: PropertyFilter): PropertyFilter

Logical AND infix: filter1 and filter2

Link copied to clipboard
open operator fun not(): PropertyFilter

Logical NOT operator: !filter

Link copied to clipboard
open infix fun or(other: PropertyFilter): PropertyFilter

Logical OR infix: filter1 or filter2