Bool quickMatch(String patt, String str, [REFlags] fl=createArray(1))
Arguments
patt: A regular expression in String formstr: The string to be matchedfl: A list of REFlags options for the regular expression. This parameter is optional and defaults to the empty list.
Usage
Test whether str matches patt, returning true if it does and false otherwise.
if (!quickMatch(".@.*\.[a-z]+$",email,[IgnoreCase])) {
throw(NotAnEmailAddress);
}
str may be a Tainted string