mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] \0
is interpreted as NUL only if not followed by an octal digit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2b89d63e61
commit
5ac401c8dc
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ Double-quote strings allow escaped characters such as <tt>\n</tt> for
|
||||||
newline, <tt>\t</tt> for tab, etc. The full list of supported escape
|
newline, <tt>\t</tt> for tab, etc. The full list of supported escape
|
||||||
sequences are as follows:
|
sequences are as follows:
|
||||||
|
|
||||||
\0 null, ASCII 00h (NUL)
|
\0 null, ASCII 00h (NUL), only if not followed by an octal digit ([0-7])
|
||||||
\a bell, ASCII 07h (BEL)
|
\a bell, ASCII 07h (BEL)
|
||||||
\b backspace, ASCII 08h (BS)
|
\b backspace, ASCII 08h (BS)
|
||||||
\t horizontal tab, ASCII 09h (TAB)
|
\t horizontal tab, ASCII 09h (TAB)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue