Author:halw

Date:2008-12-10T05:29:55.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@134 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
halw
2008-12-10 05:29:55 +00:00
parent b6b710335c
commit 22b8895dcf

View File

@@ -227,6 +227,7 @@ The Lex library supports a powerful set of construction mechanisms for describin
Let us now study the format of regular expressions. This format is used in particular for the lexical grammar files needed by class [[ref:/libraries/lex/reference/scanning_chart|SCANNING]] and (as seen below) by procedure <eiffel>read_grammar</eiffel> of class [[ref:/libraries/lex/reference/metalex_chart|METALEX]] . The ''eiffel_regular'' grammar file in the examples directory provides an extensive example.
Each regular expression denotes a set of tokens. For example, the first regular expression seen above, <br/>
<code>
'0'..'9'
</code>