swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
Prerequisite Concepts     Related Topics  

Skipping input

When scanning input, sometimes a large block of data can be ignored. The do skip action offers an efficient way of skipping such blocks to reach the data of interest.

The do skip action can be used in three contexts, with somewhat different effects:

  1. In a find rule, translate rule, do scan action or repeat scan action, the do skip action continues scanning input from the point at which it last stopped.
  2. In a translate rule, only the input in the current "chunk" of data content can be skipped. A do skip action cannot skip more input than a translate any+ would match.
  3. In a find-start rule, the do skip action scans the main input usually examined by find rules. Such actions can be used to match the first part of a file. It is meaningless to do a do skip on a find-end rule (unless it is done within another scanning action) as there is no more input to be skipped.

Prerequisite Concepts
 
  Related Topics
 
 

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

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:35:14 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.