[REBOL] parse or Re:(5)
From: jeff:rebol at: 20-Sep-2000 18:03
Howdy, Joel:
> Notice that now the result block has only TWO elements!
> Since the first test (the thru {.^/} part) can succeed by
> grabbing text all the way to the end of the SECOND
> paragraph, >it does so, putting the first two paragraphs
> into the first >output string. I assumed that this is NOT
> what you wanted, >but rather you wanted to copy through
> either {.^/} or {."^} >WHICHEVER COMES NEXT. (Natural
> language text munching is a >real pain, speaking from
> personal experience! ;-)
Sure. In the interests of advancing its popularity, I
offered up a simplistic example of PARSE. :-)
Paragraphs can end in a variety of punctuation ("!?.-;:),
with different quantities (as Russ pointed out), no?
-jeff