summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-03 23:34:48 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-03 23:34:48 +0000
commit90fdfec11a4a42653722e2ce2a672d6e87a57b8e (patch)
tree9f088d733734c57165116c314aa18fca187a2dcf
parentd1d79f170da2137630f1c2ffe1fbf379d41b7218 (diff)
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/trunk@57517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--doc/syntax/literals.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc
index f5b9738..b8ed7f7 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