firstMatch method
The first occurrence of this pattern in value, or null. Returning
the matched text (rather than a bool) lets the issue quote what it
actually found, which matters when the pattern is a regex.
Implementation
String? firstMatch(String value) => _matcher.firstMatch(value)?.group(0);