[REBOL] Re: About Parsing
From: arolls:bigpond:au at: 17-Jul-2001 3:11
I think it's a problem to use in 'opt
in a some block, because
opt == [value | none]
when you do
some [value | none]
if 'value isn't matched then 'none is matched. (Easy to do!)
When none is matched, the cursor is not advanced.
Therefore it just keeps matching none forever.
You could replace all that with:
If it doesn't match any of your values,
then it advances the cursor with 'skip.
Or Brett's way seems even better.