firstMatch method

RegExpMatch firstMatch (String input)

Searches for the first match of the regular expression in the string input. Returns null if there is no match.

Implementation

RegExpMatch? firstMatch(String input);