[DGD]parse_string

Felix A. Croes felix at dworkin.nl
Tue Apr 6 00:17:54 CEST 1999


Rasmus H Hansen <hellbug at post1.tele.dk> wrote:

> I have a feeling that I am missing something crucial about parse_string as
> I find myself handling whitespace. For example, to make the
> Expr:Expr'+'number example work, I find myself doing number=/ *[0-9] */.
> Is that really 'it' or can somebody provide me with a fully baked example
> that can set me straight? ;)

You can define whitespace explicitly:

    whitespace = / +/

The token name "whitespace" is reserved for this.

Regards,
Dworkin

List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list