expectRegexMatch function
Expect that value matches with regex.
Implementation
void expectRegexMatch(
String value,
RegExp regex, {
String? reason,
dynamic skip, // true or a String
}) {
expect(
value,
hasRegexMatch(regex),
reason: reason,
skip: skip,
);
}