Crate assert_matches_regex

Source
Expand description

Provides a macro, assert_matches_regex!, which tests whether a string matches a given regex, causing a panic if it does not match.

Macros§

assert_matches_regex
Asserts that a string matches a regex using regex::Regex.

Functions§

escape
A re-export of regex::escape for convenience.