[REBOL] Re: Parse Reverse
From: ammonjohnson:ya:hoo at: 6-Nov-2001 16:32
I am not a parse guru by any means, but
----- Original Message -----
From: <[nitsch-lists--netcologne--de]>
To: <[rebol-list--rebol--com]>
Sent: Monday, November 05, 2001 8:02 PM
Subject: [REBOL] Re: Parse Reverse
> RE: [REBOL] Parse Reverse
>
> [rondon--andrade--uol--com--br] wrote:
> >
> > Hi!
> >
> > Is there any way to make a parse from the left to right ? From the end
of
> > data to the beginning?
> >
>
> ugly, but
>
> >> parse probe head reverse "hello world" [copy txt to "olleh" to end]
I would think something like:
>> parse probe head reverse "hello world" [copy txt to reverse "hello" to
end]
would be easier to understand, & easier to code, albeit does take more
resources.
My 2¢
Ammon