Dart API Reference
dart:core
RegExp
hasMatch
hasMatch
method
Returns whether the regular expression has a match in the string input.
bool
hasMatch
(
String
input
)
Returns whether the regular expression has a match in the string input.