转义字符 | 含义 |
---|---|
\n | newline 换行符 |
\r, \c | newline 换行符 |
\l | line feed 换行符 |
\f | form feed 换页符 |
\t | tabulator 制表符 |
\v | vertical tabulator 垂直制表符 |
\ | backslash 反斜线转义符 |
" | quotation mark 双引号 |
' | apostrophe 单引号 |
\ '0'..'9'+ | character with decimal value d; all decimal digits directly following are used for the character 十进制数字字符 |
\a | alert 警告符 |
\b | backspace 退格符 |
\e | escape [ESC] 取消符 |
\x HH | character with hex value HH; exactly two hex digits are allowed |
十六进制数字字符,只允许两个十六进制数 |
| 转义字符 | 转义字符 |
| \n | newline 换行符 |
| \r, \c | carriage return 回车符
| \l | line feed 换行符 |
\f form feed 换页符
\t tabulator 制表符
\v vertical tabulator 垂直制表符
\ backslash 反斜线转义符
" quotation mark 双引号
' apostrophe 单引号
\ '0'..'9'+ character with decimal value d; all decimal digits directly following are used for the character 十进制数字字符
\a alert 警告符
\b backspace 退格符
\e escape [ESC] 取消符
\x HH character with hex value HH; exactly two hex digits are allowed
十六进制数字字符,只允许两个十六进制数
网友评论