[DGD] Help with parse_string() grammar

Felix A. Croes felix at dworkin.nl
Sun Apr 9 23:55:01 CEST 2006


=?ISO-8859-1?Q?Petter_Nystr=F6m?= <md1pette at mdstud.chalmers.se> wrote:

>[...]
>      plain      = /[^&$]*/
>      name       = /[a-zA-Z0-9]+/
>      char       = /[a-zA-Z0-9]/

Anything that could be a "char" is instead a "name".  Anything thay could be
a "name" is instead a "plain".

You'll probably get more interesting results if you put these in
reverse order: char, name, plain.

Regards,
Dworkin



More information about the DGD mailing list