[REBOL] Re: Simple parse question
From: lmecir:mbox:vol:cz at: 14-Apr-2003 23:49
Hi Tom, myself and all,
...
> but that get into a loop same as it would without the 'break.
>
> more confusing is the result
>
> >> result copy [] parse {Don't "Mess Up"} words
> >> result
> == ["Don't" {"Mess} {Up"} "Don't" {"Mess} {Up"} none none none ... ...
>
> the string is duplicated, and there is a long run of 'none.
>
> (this is /core 2.5.5 on solaris)
> I wonder whether this deserves a feedback or not, but it > doesn't look
allright to me, that is why I asked.
Romano explained, that the BREAK keyword influences just the behaviour of a
block rule containing BREAK, in this case not the block with ANY, but the
block with the alternative. That is why it works this way.
Regards
-Ladislav