The regular expression that gets compiled by PLY is compiled with the re.VERBOSE flag turned on. If you want to match spaces, you'll need to use a different regular
expression than simply enclosing a space in quotes. For example:
def t_SPACE(t):
r'[ ]'
...
Cheers,
Dave
On Mon 28/04/08 6:39 AM , inhahe inh...@gmail.com sent: