Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 834a19f commit a608c54Copy full SHA for a608c54
1 file changed
library/re.po
@@ -62,9 +62,10 @@ msgid ""
62
"string, because the regular expression must be ``\\\\``, and each backslash "
63
"must be expressed as ``\\\\`` inside a regular Python string literal."
64
msgstr ""
65
-"正则表达式使用反斜框字符 (``'\\'``) 来提示特殊形式或是允许使用特殊字符而又不启用它们的特殊含义。 这会与 Python "
66
-"在字符串字面值中出于相同目的而使用的相同字符发生冲突;例如,为了匹配一个反斜杠字面值,样式字符串就需要写成 "
67
-"``'\\\\\\\\'``,因为正则表达式必须写成 ``\\\\``,而每个反斜杠在普通的 Python 字符串字面值内又必须写成 ``\\\\``。"
+"正则表达式使用反斜杠(``'\\'``)来表示特殊形式,或者把特殊字符转义成普通字符。 而反斜杠在普通的 Python "
+"字符串里也有相同的作用,所以就产生了冲突。比如说,要匹配一个字面上的反斜杠,正则表达式模式不得不写成 "
+"``'\\\\\\\\'``,因为正则表达式里匹配一个反斜杠必须是 ``\\\\`` ,而每个反斜杠在普通的 Python 字符串里都要写成 "
68
+"``\\\\`` 。"
69
70
#: ../../library/re.rst:33
71
msgid ""
0 commit comments