[#3228] Core support for Gems, and namespace — "Luke A. Kanies" <luke@...>

Hi all,

21 messages 2004/07/27
[#3230] Re: Core support for Gems, and namespace — Austin Ziegler <halostatue@...> 2004/07/27

On Tue, 27 Jul 2004 11:39:08 +0900, Luke A. Kanies <luke@madstop.com> wrote:

[#3234] Re: Core support for Gems, and namespace — "Luke A. Kanies" <luke@...> 2004/07/27

On Tue, 27 Jul 2004, Austin Ziegler wrote:

[#3238] Re: Core support for Gems, and namespace — Austin Ziegler <halostatue@...> 2004/07/27

On Wed, 28 Jul 2004 00:14:29 +0900, Luke A. Kanies <luke@madstop.com> wrote:

Re: yaml module feature question about String Tag

From: why the lucky stiff <ruby-core@...>
Date: 2004-07-21 15:43:46 UTC
List: ruby-core #3223
NAKAMURA, Hiroshi wrote:

> YAML.load([%q(- \t), %q(- '\t'), %q(- "\t"), %q(- !str \t)].join("\n"))
> => ["\\t", "\\t", "\t", "\\t"]
>
> Note: only the 3rd String notation is "\t", not "\\t" that I expected.

This appears to be correct translation.  From Section 2.3 of 
http://yaml.org/spec/ :

    YAML's flow scalars include the plain style (most examples thus far)
    and quoted styles. The double quoted style provides escape
    sequences. Single quoted style is useful when escaping is not
    needed. All flow scalars can span multiple lines; intermediate
    whitespace is trimmed to a single space.

_why

In This Thread