in reply to Recursive lists
stuff: nl_list | un_list | tl_list | utl_list | items nl_list: m{<nl>} stuff m{</nl>} { "<list type='numbered'>$item{stuff}< +/list>" } ... ditto for the other three lists items: item(s) { join "", @{$item[1]} } item: /\w+/ { "<listitem>$item[1]</listitem>" }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: •Re: Recursive lists
by chip (Curate) on Mar 23, 2004 at 15:00 UTC | |
by merlyn (Sage) on Mar 23, 2004 at 15:07 UTC | |
|
Re: •Re: Recursive lists
by murugu (Curate) on Mar 23, 2004 at 15:17 UTC | |
by dragonchild (Archbishop) on Mar 23, 2004 at 15:45 UTC | |
by pbeckingham (Parson) on Mar 23, 2004 at 15:50 UTC |