[REBOL] Re: Parsing optional tags
From: lmecir:mbox:vol:cz at: 4-Nov-2001 18:05
Hi myself, I should have tested it, here is an improved version: i-tag: [copy collect to </i> </i>] not-i-tag: [copy collect to </b>] b-tag: [[<i> (following: i-tag) | (following: not-i-tag)] following (append collects collect) </b>] htmlrule: [[thru <b> (follow: [b-tag htmlrule]) | to end (follow: [none])] follow] parse html htmlrule Cheers Ladislav