Next: Small example Up: Document Specification Syntax Previous: Document Specification Syntax


Note that the scanner requires an aditional level of escaping because the '/' indicates the end of the regular expression. So '/' must be escaped by a backslash: '\/'. If you need a backslash in you regexp, it must me escaped to: '\\ '. Since formfeed and other control characters are often needed '\x' for x from 'A' to 'Z' is mapped to '^x' (ctrl x, ). This means 'A' is subtracted from the original character.

For example \A=^A(ctrnl A), \B = ^B, ...\J = \n (newline). This is somewhat ad-hoc, but was easy to implement and allows users of limited editors to enter control characters in the format file.

Here is a first small example of a structured document collection to be indexed.


Ulrich Pfeifer
Thu May 25 16:37:04 MET DST 1995