fun matches(param: String, value: String, id: String? = null): Unit
Adds a requirement that the value of the specified parameter matches the given value
value
- regex to check for a match
id
- optional requirement id, if not specified will be generated