Finding and/or replacing non-roman characters – Nisus Writer Express User Manual

Page 203

Advertising
background image

Polishing & Managing Documents

183

The expression (find any A or any A followed by any B but only the first one that appears):

finds A in AC and AB in ABB.

0+

Zero or more repeated occurrences (“It may or may not be there.”)

1+

One or more repeated occurrences

The expression (find any A followed by any B which must be there at least one (or more)
time(s)):

finds AB, ABB, and ABBB, but not A or AC.

N - M Times

Between “N” and “M” repeated occurrences

The expression (find any A followed by any B which must be there between 3 and 5 times; using
N - M Times):

finds ABBB, ABBBB and ABBBBB only.

N Times

Exactly “N” repeated occurrences

Shortest 0 or 1

Zero or one occurrence, the shortest occurrence

The expression (find any A followed by any B which must be there at least one (or more) time(s),
but only the shortest string of them):

finds only AB regardless of how many B’s appear.

Shortest 0+

Zero or more repeated occurrences (“It may or may not be there.”), the shortest
occurrence

Shortest 1+

One or more repeated occurrences, the shortest occurrence

Note that the Repeat refers only to the immediately preceding character or variable.

Advertising