RegularExpressionFilter

A filter, yields a successful result only, when the provided regular expression matches the input.

Parameters

regex

The regular expression to filter with

Constructors

Link copied to clipboard
constructor(regex: Regex)

Functions

Link copied to clipboard
open override fun evaluate(value: String): FilterResult<out Unit>

Evaluates the filter with the given value.

Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
fun Filter<*, *>.dump(): String

Formats a filter chain as a tree with ASCII characters, and returns the formatted string.