Match firstMatch(
String input
)

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

Source

/**
 * Searches for the first match of the regular expression
 * in the string [input]. Returns `null` if there is no match.
 */
Match firstMatch(String input);