From: Brian I. <in...@tt...> - 2001-11-25 02:27:03
|
On 24/11/01 19:06 -0500, Clark C . Evans wrote: > On Sat, Nov 24, 2001 at 03:15:04PM -0800, Brian Ingerson wrote: > > I've got another different thought as to how double quotes > could work within the context of a plain scalar. Imagine > Imagine them as a "pre-processing" layer that happens at > the parser level; resolving escape sequences. > > | --- > | this is: ""perfectly fine", and I think\nyou know what it > | means" > > this is: | > perfectly fine, and I think > you know what it means no, should be: || "perfectly fine", and I think you know what it means > > | this is: "\"an error\" simply because 'backslash-double' is not a > | recognized escape during the unescaping process" > > Ok. And... > > this is: "Clark C. Evans" <cc...@cl...> > equal to: \ > Clark C. Evans <cc...@cl...> > > Since there isn't any escaping going on, so the > quotes are dropped. > > Just thinking. It's not an implict scalar, but this > will enable us to read RFC 822. Let's just drop it. Even if we were a subset, whould that be cool? I think it would not make anyone come running over to YAML. "But it's not *just* a data serialization language! It's also a fully functional food processor *and* a racing car!" Cheers, Brian |