swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
 

#2516   Compile-time warning  

 

Possible empty pattern encountered.

Additional Information

This pattern can match zero characters, and therefore slow the program down.
    or
A sub-pattern in a repetition might repeat without matching any characters.

Explanation

As of Version 2 Release 4, OmniMark now allows patterns in find and translate rules to match zero characters. This is most useful for moving from one group to another in find rules without actually consuming characters. Note that if a find rule matches no characters, the next successful find rule must match at least one character. This prevents unexpected looping.

The second type of message can occur when a sub-pattern of the form (A? B* lookahead not C)+ is encountered (or a similar combination thereof).

 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:26:58 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.