Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Parse Reverse

From: nitsch-lists:netcologne at: 7-Nov-2001 0:02

RE: [REBOL] Re: Parse Reverse [ammonjohnson--yahoo--com] wrote:
> 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 > >> > >> 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] >
except it does not work :( ** Script Error: Invalid argument: ?native? words in parse are meant to be other blocks for sub-parserules. so [reverse[hello"]] is invalid. usually one could try to use compose before, but then the compose-marking brackets are also used by parse itself. so composing parse-expressions is difficult. -Volker