fn error_matches(expected_error: &str, err: &str) -> boolExpand description
Reports whether err matches the expected_error regex of a record.
Expected errors in files imported from CockroachDB are not always valid regexes. An invalid regex cannot match, so the record fails with the usual mismatch outcome rather than aborting the entire run.