infix fun Regex.shouldBeRegex(anotherRegex: Regex): Unit
Assert that Regex is equal to anotherRegex by comparing their pattern and options(RegexOption).
See Also
shouldNotBeRegex
beRegex