bool hasMatch(
String input
)

Returns whether the regular expression has a match in the string input.

Source

/**
 * Returns whether the regular expression has a match in the string [input].
 */
bool hasMatch(String input);