Terminating pattern matching

The EXIT action is used to quit the pattern matching program for the current process.

The EXIT action prevents further pattern-action sets from being run; for example:


^ | D | ? | T
COPY [1] {HouseNumber}
COPY_A [2] {StreetPrefixDirectional}
COPY [3] {StreetName}
COPY [4] {StreetSuffixType}
EXIT

If the input record matches the pattern, the current process ends after the COPY actions (and after any POST actions).