optionMatches

fun optionMatches(namePattern: String, valuePattern: String): Boolean

Returns true if any of the options in entries matches both of the regular expressions provided: its name matches the option's name and its value matches the option's value.