Regex string match assertion
Passes if the actual String matches the given regular expression pattern.
actual (String): The string value
to inspect.
pattern (String): Regular
expression pattern string.
Expect_pass when matching; Expect_hold on
NA; Expect_stop on mismatch or invalid pattern.
assert(expect_match("user@example.com", ".*@.*"))