OneArb — 25-Dec-2013/10:39:28-8:00
Greetings
I explore REBOL parse with a commercial project target in mind.
http://tryrebol.esperconsultancy.nl/
string: "a phone"
article: ["a" | "the"]
device: ["phone" | "radio"]
parse string [article device]
REBOL 2 2.7.8.4.2:
== true
Other flavors
== false
Could anyone explain the R2 – R3 logic change ?
Chris — 29-Dec-2013/10:25:31-8:00
There's a good summary of PARSE changes here:
http://www.codeconscious.com/rebol/r2-to-r3.html#parse
Essentially the default string parsing for Rebol 3 is equivalent to PARSE/ALL in Rebol 2. You'll have to handle whitespace (or even split the string if you want to parse whole words).