matches method
- @Deprecated('Use `MatchesParserExtension.allMatches(input, ' 'overlapping: true)` instead')
- String input
Returns a list of all successful overlapping parses of input
.
For example, letter().plus().flatten().matches('abc de')
results in the
list ['abc', 'bc', 'c', 'de', 'e']
.
Implementation
@Deprecated('Use `MatchesParserExtension.allMatches(input, '
'overlapping: true)` instead')
List<T> matches(String input) =>
allMatches(input, overlapping: true).toList();