[
Lists Home |
Date Index |
Thread Index
]
In article <200310040621.h946Ljee010554@adat.davidashen.net> you write:
>> What I want is at least one element, at most one summary, and if a
>> summary appears, it should be the last element.
>
>(para*,(para|summary))
That's not deterministic either. If you get a para at the start, which
does it match?
The content can start with either para or summary. If it's summary,
you can't have anything else. If it's para, you can have more paras
and an optional summary. So you want
(summary|(para+,summary?))
-- Richard
|