Matches

fun Matches(pattern: Regex): Rule

A rule that requires to input to match pattern

There are predefined patterns: Patterns