after
Arguments
The function accepts single argument.
The function also accepts the following optional named parameters:
-
scope:=text/line/sentence/paragraph limits the search to a fragment till the end of a text/line/sentence/paragraph. By default, scope:=text.
-
endpoint:=yes/no includes the argument in the result or excludes it. By default, endpoint:=no, i.e. the argument is excluded from the result.
-
allow_punct:=yes/no allows or prohibits punctuation between arguments (set to "no" by default).
-
trim_punct:=yes/no/left/right removes or leaves punctuation at the beginning or at the end of the interval (set to "yes" by default).
trim_punct:=no does not remove punctuation.
trim_punct:=left removes punctuation at the beginning of the interval.
trim_punct:=right removes punctuation at the end of the interval.
-
match:=first/last/shortest/longest matches the first/last/shortest/longest result.
The match parameter can be combined with scope:=sentence/text/paragraph/line:
-
match:=shortest, scope:=sentence matches the shortest result within a sentence.
-
match:=last, scope:=paragraph matches the last result within a paragraph.
-
match:=first, scope:=text matches the first result within a text.