[REBOL] Re: Reverse Parsing
From: joel:neely:fedex at: 27-Sep-2001 15:52
Andrew beat me to it...
Andrew Martin wrote:
> > Is there an easy, obvious, way that I can't see to parse
> > backwards with alternation capabilities? For example, ...
> Would reverse-ing the string first, then parse-ing work for you?
> >> s: "a word at last ^-"
> == "a word at last ^-"
> >> head reverse s
> == "^- tsal ta drow a"
... but remember to reverse the parsed results afterwards!
parse to extract item(s) of interest
reverse extracted item(s)
This sentence contradicts itself -- no actually it doesn't.
-- Doug Hofstadter