regExpHasMatch function
Returns true
if regExp
has any match at s
.
regExp
Uses parseRegExp to parse.
Implementation
bool regExpHasMatch(Object? regExp, String s) {
var theRegExp = parseRegExp(regExp);
return theRegExp != null && theRegExp.hasMatch(s);
}