RegularExpressionFilter

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

A filter, which returns a non-null value only when regex matches the input String.

Parameters

regex

The regular expression to filter with

Constructors

Functions

Link copied to clipboard
public Unit evaluate(String input)

Evaluates the filter with the given value.

Link copied to clipboard
public String toString()

Inherited functions

Link copied to clipboard
public String dump()

Formats the current filter as a tree, and returns the formatted string.