ftsWords function

Iterable<String> ftsWords(
  1. String string
)

Extracts all standard FTS tokens from a String.

This function returns all character sequences from the given string that match the reFtsTextToken regexp.

See also: ftsText.

Implementation

Iterable<String> ftsWords(String string) =>
    reFtsTextToken.allMatches(string).map((var m) => m.group(0)!);