[REBOL] Parsing optional tags
From: geza67:freestart:hu at: 4-Nov-2001 16:00
Beyond View-related stuff, IMHO parsing is the most underdocumented
but most powerful feature of REBOL. Now I am stucking with a rather
trivial problem :
I want to collect texts embedded in tags:
Finding the beginning of the text is obvious, but matching the
closing tags is NOT symmetrical :-( - as I thought:
parse html [any [
thru <b> [<i> | none] copy Collect to [</i> | none] </b>
(append Collects Collect)
... does not work as expected: Collects is full of 'none values.
Could you help me, please?
Geza Lakner MD mailto:[geza67--freestart--hu]