diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-19 21:48:03 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-19 21:48:03 +0000 |
commit | 26b9fb4711898189b00ef93183ef9e831f816d63 (patch) | |
tree | 626271349bf1971ddb34208063c3e0c90a613513 /doc | |
parent | 6781722aa42aa8be0b71af9ffca57e5f99d99d19 (diff) |
merge revision(s) 57517: [Backport #13190]
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@web.de>
[ruby-core:79418] [Bug #13190]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@58032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
-rw-r--r-- | doc/syntax/literals.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc index f5b9738868..b8ed7f7c54 100644 --- a/doc/syntax/literals.rdoc +++ b/doc/syntax/literals.rdoc @@ -108,7 +108,7 @@ sequences are as follows: \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 |