[前][次][番号順一覧][スレッド一覧]

ruby-changes:39797

From: knu <ko1@a...>
Date: Wed, 16 Sep 2015 15:59:30 +0900 (JST)
Subject: [ruby-changes:39797] knu:r51878 (trunk): [DOC] Remove `\0` since it's aprt of octal notation

knu	2015-09-16 15:58:56 +0900 (Wed, 16 Sep 2015)

  New Revision: 51878

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51878

  Log:
    [DOC] Remove `\0` since it's aprt of octal notation
    
    A typo is fixed while at it.

  Modified files:
    trunk/doc/syntax/literals.rdoc
Index: doc/syntax/literals.rdoc
===================================================================
--- doc/syntax/literals.rdoc	(revision 51877)
+++ doc/syntax/literals.rdoc	(revision 51878)
@@ -87,7 +87,6 @@ Double-quote strings allow escaped chara https://github.com/ruby/ruby/blob/trunk/doc/syntax/literals.rdoc#L87
 newline, <tt>\t</tt> for tab, etc.  The full list of supported escape
 sequences are as follows:
 
-  \0             null, ASCII 00h (NUL), only if not followed by an octal digit ([0-7])
   \a             bell, ASCII 07h (BEL)
   \b             backspace, ASCII 08h (BS)
   \t             horizontal tab, ASCII 09h (TAB)
@@ -109,7 +108,7 @@ sequences are as follows: https://github.com/ruby/ruby/blob/trunk/doc/syntax/literals.rdoc#L108
   \c\M-x         same as above
   \c? or \C-?    delete, ASCII 7Fh (DEL)
 
-Any other charater followed by a backslash is interpreted as the
+Any other character followed by a backslash is interpreted as the
 character itself.
 
 Double-quote strings allow interpolation of other values using

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]