|
|||||
A pattern that will cause an infinite loop was detected.
Additional Information
The current pattern repeats with a X, but never fails.
where X is either "+" or "*".
Explanation
This error occurs for only obvious OmniMark patterns. For example, the pattern FIND (WHITE-SPACE* OR "fish")* will cause OmniMark to loop. This error is detected, because OmniMark can detect that it is being asked to match zero or more white-space characters as many times as possible. The pattern FIND ((WHEN VALUE 1 IS EQUAL 1) OR "fish")* does not elicit this error message, however, because in general OmniMark cannot tell if a condition will always be true or false.