RegularExpressionFilter

public final class RegularExpressionFilter implements Filter<String, Unit>(source)

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

Parameters

regex

The regular expression to filter with

Constructors

Functions

Link copied to clipboard
public FilterResult<? extends Unit> evaluate(String value)

Evaluates the filter with the given value.

Link copied to clipboard
public String toString()