Other examples:
Web number scraper
Web table scraper
Web text scraper
Text search and replace
Line break conversion
Email parser
Email word pair search
Syntax checker

Example :  text search

screen shot: file search definition

File-Search.dxd searches the input streams for the text strings specified in "search items".

The output of DTBuild / File-Search resembles that of the output of the grep utility.   It decides it has found the search items when the "Line tail" node is recognized, so that's where "the action is" (the node where the actions are performed).   The sequence recognized is :

  * - search items - *

This parser recognizes the * (asterisk, or "anything-but-newline") pattern, i.e. all characters except carriage returns (13 decimal) and line feeds (10 decimal).

Hence it does one line at a time.




© 2002-2010 DTUtilities