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

ruby-changes:45444

From: normal <ko1@a...>
Date: Sat, 4 Feb 2017 08:34:53 +0900 (JST)
Subject: [ruby-changes:45444] normal:r57517 (trunk): doc: Fix error for escape sequences in string literals

normal	2017-02-04 08:34:48 +0900 (Sat, 04 Feb 2017)

  New Revision: 57517

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

  Log:
    doc: Fix error for escape sequences in string literals
    
    Backslash goes first in escape sequences, so it must be
    "any other character following a backslash is interpreted as ...",
    while the doc says "...followed by...".
    
    Author: Marcus Stollsteimer <sto.mar@w...>
    [ruby-core:79418] [Bug #13190]

  Modified files:
    trunk/doc/syntax/literals.rdoc
Index: doc/syntax/literals.rdoc
===================================================================
--- doc/syntax/literals.rdoc	(revision 57516)
+++ doc/syntax/literals.rdoc	(revision 57517)
@@ -108,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 character followed by a backslash is interpreted as the
+Any other character following 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/

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