Thank you. This, of course, works ... but, the tags are now treated as text instead of as tags and I believe that 'HTML tag' is a REBOL datatype. Also, having spaces, tabs, and newlines between </td> and <td> is correct HTML but will not be matched by "</td><td>" Am I overstating this? I really need the parse-grammer to be as close to standard HTML as possible, because I cannot control the pages being scanned. They will follow the letter of the HTML law, and not format their pages for my benefit! Thank you, again ... but I was hoping for something more flexible. --- [EMAIL PROTECTED] wrote: > You have no space between </td><td> in your test text, but do in your parse. > Try this: > > >> probe parse sample-text [copy txt1 to "</td><td>" "</td><td>" copy txt2 > to end (print [txt1 txt2])] > alpha beta > true > == true > > --------------------------------------- > >>> sample-text: "alpha</td><td>beta" > >== "alpha</td><td>beta" > >>> probe parse sample-text [copy txt1 to </td> <td> </td> <td> copy txt2 to > end > >(print [txt1 txt2])] > >false > >== false > > > > > >; So, why is my parse grammer correct for a single seperator (whether text > or > >tag) but incorrect for a double seperator? > > ===== Steve ~runester~ Jarjoura "According to my calculations, that problem doesn't exist." __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
