[REBOL] Re: Parse versus Regular Expressions
From: greggirwin:mindspring at: 4-Apr-2003 10:15
Hi Joel,
<< 2) It totally breaks normal usage that "or" is symmetrical, even
though we read the | as "or". >>
It's like the ANY function, so I don't know that I'd say it "totally
breaks" normal usage. Isn't OR often optimized to work this way; i.e.
shortcut evaluation?
I think the most important thing, barring actual "bugs" in PARSE's
design is documenting how these things work so grammars can be designed
correctly (e.g. longest match first; greedy grammars? :).
-- Gregg