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

[REBOL] Re: A little parse help

From: petr:krenzelok:trz:cz at: 24-Aug-2001 21:01

----- Original Message ----- From: <[JELINEM1--nationwide--com]> To: <[rebol-list--rebol--com]> Sent: Friday, August 24, 2001 8:34 PM Subject: [REBOL] Re: A little parse help
> > 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. >
FIRST - looooong time requested feature. Carl once agreed it would be usefull, but there are probably other priorities for RT to solve now. However - being able to parse first of [a | b | c] is probably the most missing feature re parsing .. -pekr-