matches method

  1. @Deprecated('Use `MatchesParserExtension.allMatches(input, ' 'overlapping: true)` instead')
List<T> matches(
  1. 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();