asciiWords function

List<String> asciiWords(
  1. String string
)

Implementation

List<String> asciiWords(String string) {
  Iterable<Match> matches = reAsciiWord.allMatches(string);
  List<String> result = [];
  for (Match match in matches) {
    result.add(match[0]!);
  }
  return result;
}