Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Parsing optional tags

From: lmecir:mbox:vol:cz at: 4-Nov-2001 17:06

Hi Geza, how about: i-tag: [<i> copy collect to </i>] not-i-tag: [copy collect to </b>] b-tag: [[i-tag | not-i-tag] </b> (append collects collect)] htmlrule: [[to <b> | to end] [<b> b-tag htmlrule | none]] parse html htmlrule Look out! not tested Cheers Ladislav