ExactMatcher constructor
Creates an ExactMatcher for parsing strings that exactly match any of the strings in the passed list.
TextParser(
matchers: [
ExactMatcher(['e.g.', 'C++']),
],
)
Implementation
ExactMatcher(Iterable<String> strings)
: super(strings.map(RegExp.escape).join('|'));