hasMatch method

bool hasMatch(
  1. String toMatch
)

Implementation

bool hasMatch(String toMatch) {
  return RegExp(regExp).hasMatch(toMatch);
}