Asserts that given value matches the given regular expression.
The value to check.
The regular expression to match against.
Optional
Optional reason added to exception message when assertion fails.
AssertionError when value does not match the regular expression.
Asserts that given value matches the given regular expression.