Login

View change log entry

Back

Navigation:  ◀ 73499  73501 ▶ 

Change log entry 73500
Processed by: richwarm (2021-09-08 01:00:00 GMT)
Comment: << review queue entry 69208 - submitted by 'sl89' >>
Maybe it also makes sense to define escape character 转义字符 and escape sequence 转义序列 (because "escape" in these two expressions doesn't mean't the same thing), but I feel that as long as 转义 is defined as a verb, these constructs should be easily understood.

消息内的单引号必须由另一个单引号来转义。
A single quote in the message must be escaped with another single quote.
ibm.com

在转义了操作符后,它将像所有其他文字一样进行匹配。
After you escape the operator, it matches like any other literal.
ibm.com

这里唯一的陷阱是需要正确地转义保留字符(参见表1)。
The only pitfall here is that you need to escape reserved characters properly (see Table 1).
ibm.com

注意,在清单6中,所有的Unicode字符均被转义。
In Listing 6, note that all the Unicode characters are escaped.
ibm.com

Escape sequences
转义序列
https://www.php.net/manual/zh/regexp.reference.escape.php

To specify a literal single quote, escape it with a backslash (\).
表达一个单引号自身,需在它的前面加个反斜线(\)来转义。
As in single quoted strings, escaping any other character will result in the backslash being printed too.
和单引号字符串一样,转义任何其它字符都会导致反斜线被显示出来。
https://www.php.net/manual/zh/language.types.string.php

\: Either escapes special characters (permitting you to match characters like '*', '?', and so forth), or signals a special sequence; special sequences are discussed below.
\: 转义特殊字符(允许你匹配 '*', '?', 或者此类其他),或者表示一个特殊序列;特殊序列之后进行讨论。
https://docs.python.org/zh-cn/3/library/re.html
----------------------------------------

Editor: I'm mystified as to why you would say <<"escape" in these two expressions doesn't mean the same thing">>
I tried to contact you about that via this website and also by email, but haven't received a reply.

Anyway, I think it could be worthwhile having the extra two entries.

转义序列
转义是当由于技术等原因、无法直接在代码中写出所要的字符时采用的,以多个字符的有序组合来表示原本需要的字符的手段,而转义序列(英语:escape sequence)指在转义时使用的有序字符组合。
https://zh.wikipedia.org/zh-cn/%E8%BD%AC%E4%B9%89%E5%BA%8F%E5%88%97

转义字符
在计算机科学与远程通信中,当转义字符(Escape Character)放在字符序列时,它将对它后续的几个字符进行替代并解释。
https://zh.wikipedia.org/zh-cn/%E8%BD%AC%E4%B9%89%E5%AD%97%E7%AC%A6

I note in passing that 跳脫 appears to be the term used in Taiwan for "(computing) to escape".
E.g. 在電腦科學與遠端通信中,當跳脫字元(Escape Character)放在字元序列時,它將對它後續的幾個字元進行替代並解釋。跳脫字元是元字元的一種特殊情況。
https://zh.wikipedia.org/wiki/%E8%BD%AC%E4%B9%89%E5%AD%97%E7%AC%A6
Diff:
- 轉義 转义 [zhuan3 yi4] /transferred meaning/
+ 轉義 转义 [zhuan3 yi4] /(linguistics) transferred meaning/(computing) to escape/
#
+ 轉義序列 转义序列 [zhuan3 yi4 xu4 lie4] /(computing) escape sequence/
+ 轉義字符 转义字符 [zhuan3 yi4 zi4 fu2] /(computing) escape character/
By MDBG 2024
Privacy and cookies
Help wanted: the CC-CEDICT project is looking for new volunteer editors!