"/\alpha+-=\alpha+"
: Looks for one or more occurrences of a
letter (i.e., any word) followed by one occurrence of a hyphen (designated
by the equal sign (=
), followed by one or more occurrences of a letter
(i.e., a word); and as such, can be used to locate hyphenated words."/cost=\space+of=\space+living="
: Looks for the word "cost
"
followed by one or more of any space character (i.e., a space or a carriage
return), followed by the word "of
", followed by one or more of any space
character, followed by the word "living
"; and as such, would locate the
phrase "cost of living
", regardless of how it had been entered or formatted
in terms of space characters."/\digit{1,6}\.=\digit{2}"
: Looks for from 1 to 6 digits followed
by a decimal point. `.
' is a special character in REX
syntax and
so must be preceded with a backward slash in order to be taken literally), followed
by 2 digits; and as such would locate dollar type amounts and numbers with
a decimal notation of 2 places.