[REBOL] parse or Re:(6)
From: joel:neely:fedex at: 21-Sep-2000 6:51
[jeff--rebol--net] wrote:
> 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
Sure! Nothing wrong with simple examples! My only reason for
pointing out that the first alternative would be taken (passing
up an instance of the second alternative) was that those of us
who "regularly" deal with regular expressions <groan /> find it
easy to get tripped up by this kind of behavior. With REs, I
can say
grab everything up to the first occurrence of any of
these complicated patterns
in a fairly obvious way. Re-remembering the subtle differences
between BNF and REs was (for me, at least) the hardest part of
getting productive with parse .
Just so I don't come across as being TOO negative ;-) please
see my next post!
-jn-