firstMatch method

RegExpMatch? firstMatch(
  1. String regexp
)

Implementation

RegExpMatch? firstMatch(String regexp) {
  return RegExp(regexp).firstMatch(this);
}