Forum: Ruby What's with the backslashes at the start of words in YAML doc files?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Eric P. (Guest)
on 2008-11-28 23:16
(Received via mailing list)
The problem:

Files like
<ruby-install>/gems1.8/doc/actionpack-2.2.2/ri/ActionController/
AbstractRequest/content_type-i.yaml

contain text like this:

  body: For backward compatibility, the post \format is extracted ...

What's with the backslash at the start of "format"?

I'm pulling out any backslashes that match /\s\\\w/, but I'm wondering
what
the backslash is for.  yaml.org has been down all day.

Thanks,
Eric
This topic is locked and can not be replied to.