Description
Adds helper assertions for regular-expression tests. It helps developers see why a regex did or did not match by producing clearer test failure messages.
Regex tests should include edge cases and invalid input. Clear assertions make failures easier to fix but do not guarantee a pattern is safe for all data.