util/lexgen/lexgen.lexgen
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Mon, 19 Apr 2010 10:15:19 +0300
branchRCL_3
changeset 9 b5b118452c7d
parent 0 1918ee327afb
permissions -rw-r--r--
a8c775f23625952540b5349744722bcb9e37de45

[Options]
case-sensitive
classname = RegExpTokenizer

[Code Generator Options]
TokenPrefix = RE2NFA::

[Macros]
Escape = \\.{1}

[Tokens]
TOK_QUOTED_STRING = \"[^\"]*\"
TOK_STRING = [^\{\}\(\)\,\*\|\?\.\+\[]|{Escape}
TOK_SEQUENCE = \[([^\]]|(\\\]))*\]
TOK_LBRACE = \{
TOK_RBRACE = \}
TOK_LPAREN = \(
TOK_RPAREN = \)
TOK_COMMA = \,
TOK_STAR = \*
TOK_OR = \|
TOK_QUESTION = \?
TOK_DOT = \.
TOK_PLUS = \+