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

[REBOL] Re: A little parse help

From: jelinem1:nationwide at: 24-Aug-2001 13:34

> what's the last :mark1 there for?
Sets the parse cursor location.
> and how do I change it to parse until <br> or a space " "?
Parse rules will not do this, if I understand your intent correctly. Parse rules WILL look until <br> or space " ", but will not stop at whichever comes first. Parse first looks for <br>: If parse never finds a <br> (up to end of data) then it will look for a space " ", otherwise stopping at the next <br> regardless of spaces. Stefan Falk <[syke--amigaextreme--com]> Sent by: [rebol-bounce--rebol--com] 08/24/01 01:21 PM Please respond to rebol-list T To: <[rebol-list--rebol--com]> cc: bcc: Subject: [REBOL] Re: A little parse help Hi, thanks, this worked! just two questions, what's the last :mark1 there for? and how do I change it to parse until <br> or a space " "? ("<br>" | " ") or (to "<br>" | to " ") doesn't seem to work.. /Regards Stefan