A found some clues on lexing using the re module in Python in an
article by Martin L÷wis.
http://www.python.org/community/sigs/retired/parser-sig/towards-standard/
He writes:
[...]
A scanner based on regular expressions is usually implemented
as an alternative of all token definitions. For
Neil Cerutti wrote:
A found some clues on lexing using the re module in Python in an
article by Martin L÷wis.
Here, each alternative in the regular expression defines a
named group. Scanning proceeds in the following steps:
1. Given the complete input, match the regular expression
On 2007-01-10, Fredrik Lundh [EMAIL PROTECTED] wrote:
Neil Cerutti wrote:
A found some clues on lexing using the re module in Python in
an article by Martin L÷wis.
Here, each alternative in the regular expression defines a
named group. Scanning proceeds in the following steps:
1.