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.
In reply to •Re: Recursive lists
by merlyn
in thread Recursive lists
by murugu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |