[REBOL] Re: Parse: Splitting headache
From: sunandadh:aol at: 19-Feb-2003 4:26
Romano:
> Rebol does not support {} strings inside "" strings, but only ^" strings
> You should use one of these syntax:
Thanks.
That's a real shame. And an annoying inconsistency.
Core.pdf defines a string like this:
<<Strings are written in a single-line format or a multiline format.
Single-line-format
strings are enclosed in quotes. Multiline-format strings are enclosed in
brackets.>>
and explains parse as
<<parse series rules
The series argument is the input that is parsed and can be a string or a
block. If
the argument is a string, it is parsed by character.>>
string
is being used here in two different senses -- 'parse doesn't
recognise {...} as an inner string, though 'load and 'to-block do. At the
least the documentation needs a note of clarification.
I'm going to drop a note to feedback.
Sunanda