unicodeWords function

List<String> unicodeWords(
  1. String string
)

Implementation

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