Gelex Limitations PreviousNext

Variable-length trailing contexts

Some trailing context patterns cannot be properly matched and generate warning messages ("dangerous trailing context"). These are patterns where the ending of the first part of the rule matches the beginning of the second part, such as zx*/xy*, where the x* matches the x at the beginning of the trailing context. (Note that the POSIX draft for lex states that the text matched by such patterns is undefined.)

Matching Null characters

Pattern-matching of Null characters is substantially slower than matching other characters.

Resizing input buffer

The input buffer may be automatically resized when a token is so big that it can hardly fit in the buffer's allocated space. This dynamic resizing of the input buffer might be a bit slow, but all the text matched so far by the current (generally huge) token won't have to be scanned again though.

Reject and full tables

reject cannot be used with the -f (full table) option.


Copyright © 2000, Eric Bezault
mailto:
ericb@gobosoft.com
http:
//www.gobosoft.com
Last Updated: 20 February 2000

HomeTocPreviousNext