follow
Purpose
Matches the records which hold a sequence of up to range sentences, containing the terms in the specified order.
Arguments
The function accepts several arguments:
-
The first optional argument range sets the range of sentences; if the range is not specified, the whole text is considered.
-
The second and the next arguments define the terms to search for; the number of them is unlimited; the order of them is important.
The function also supports optional named parameters:
-
allow_punct:=yes/no allows or prohibits punctuation between arguments (set to "yes" by default).
-
allow_space:=yes/no allows or prohibits spaces between arguments (set to "no" by default).
-
match:=range matches text range starting from the first found term and ending with the last found term.
-
match:=inverse matches text range starting from the first found term and ending with the last found term except for the specified arguments.