mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
literals.rdoc: fix typos
* doc/syntax/literals.rdoc (Strings): fix typos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
35947f6d42
commit
22190b3f32
1 changed files with 2 additions and 2 deletions
|
@ -133,13 +133,13 @@ Basically only one character can be placed after <tt>?</tt>:
|
||||||
?abc #=> SyntaxError
|
?abc #=> SyntaxError
|
||||||
|
|
||||||
Exceptionally, <tt>\C-</tt>, <tt>\M-</tt> and their combination are allowed
|
Exceptionally, <tt>\C-</tt>, <tt>\M-</tt> and their combination are allowed
|
||||||
before a character. They means "control", "meta" and "control-meta"
|
before a character. They mean "control", "meta" and "control-meta"
|
||||||
respectively:
|
respectively:
|
||||||
|
|
||||||
?\C-a #=> "\x01"
|
?\C-a #=> "\x01"
|
||||||
?\M-a #=> "\xE1"
|
?\M-a #=> "\xE1"
|
||||||
?\M-\C-a #=> "\x81"
|
?\M-\C-a #=> "\x81"
|
||||||
?\C-\A-a #=> "\x81", same as above
|
?\C-\M-a #=> "\x81", same as above
|
||||||
|
|
||||||
=== Here Documents
|
=== Here Documents
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue