@@ -1485,9 +1485,9 @@ msgid ""
1485
1485
msgstr ""
1486
1486
"回傳透過以替換 *repl* 取代 *string* 中最左邊不重疊出現的 *pattern* 所獲得的字"
1487
1487
"串。如果未找到該模式,則不改變 *string* 並回傳。*repl* 可以是字串或函式;如果"
1488
- "它是字串,則處理其中的任何反斜線轉義 。也就是說 ``\\ n`` 會被轉換為單一換行符、"
1489
- "``\\ r`` 會被轉換為回車符 (carriage return) 等等。ASCII 字母的未知轉義符會被保 "
1490
- "留以供將來使用並被視為錯誤。其他未知轉義符例如 ``\\ &`` 會被單獨保留。例如 "
1488
+ "它是字串,則處理其中的任何反斜線跳脫 。也就是說 ``\\ n`` 會被轉換為單一換行符、"
1489
+ "``\\ r`` 會被轉換為回車符 (carriage return) 等等。ASCII 字母的未知跳脫符會被保 "
1490
+ "留以供將來使用並被視為錯誤。其他未知跳脫符例如 ``\\ &`` 會被單獨保留。例如 "
1491
1491
"``\\ 6`` 的反向參照將被替換為模式中第 6 組匹配的子字串。例如: ::"
1492
1492
1493
1493
#: ../../library/re.rst:1073
@@ -1565,7 +1565,7 @@ msgid ""
1565
1565
"backreference ``\\ g<0>`` substitutes in the entire substring matched by the "
1566
1566
"RE."
1567
1567
msgstr ""
1568
- "在字串型別 *repl* 引數中,除了上述字元轉義和反向參照之外 ,``\\ g<name>`` 將使"
1568
+ "在字串型別 *repl* 引數中,除了上述字元跳脫和反向參照之外 ,``\\ g<name>`` 將使"
1569
1569
"用名為 ``name`` 的群組所匹配到的子字串,如 ``(?P<name>...)`` 所定義的語法。"
1570
1570
"``\\ g<number>`` 使用對應的群組編號;因此 ``\\ g<2>`` 等價於 ``\\ 2``,但在諸如 "
1571
1571
"``\\ g<2>0`` 之類的替換中並非模糊不清 (isn't ambiguous)。``\\ 20`` 將被直譯為對"
@@ -1581,14 +1581,14 @@ msgid ""
1581
1581
"Unknown escapes in *pattern* consisting of ``'\\ '`` and an ASCII letter now "
1582
1582
"are errors."
1583
1583
msgstr ""
1584
- "在由 ``'\\ '`` 和一個 ASCII 字母組成之 *pattern* 中的未知轉義符現在為錯誤 。"
1584
+ "在由 ``'\\ '`` 和一個 ASCII 字母組成之 *pattern* 中的未知跳脫符現在為錯誤 。"
1585
1585
1586
1586
#: ../../library/re.rst:1128
1587
1587
msgid ""
1588
1588
"Unknown escapes in *repl* consisting of ``'\\ '`` and an ASCII letter now are "
1589
1589
"errors. An empty match can occur immediately after a non-empty match."
1590
1590
msgstr ""
1591
- "由 ``'\\ '`` 和一個 ASCII 字母組成之 *repl* 中的未知轉義符現在為錯誤 。"
1591
+ "由 ``'\\ '`` 和一個 ASCII 字母組成之 *repl* 中的未知跳脫符現在為錯誤 。"
1592
1592
"非空匹配後可以緊接著出現空匹配。"
1593
1593
1594
1594
#: ../../library/re.rst:1133
@@ -1623,7 +1623,7 @@ msgid ""
1623
1623
"an arbitrary literal string that may have regular expression metacharacters "
1624
1624
"in it. For example::"
1625
1625
msgstr ""
1626
- "對 *pattern* 中的特殊字元進行轉義 。如果你想要匹配其中可能包含正規表示式元字"
1626
+ "對 *pattern* 中的特殊字元進行跳脫 。如果你想要匹配其中可能包含正規表示式元字"
1627
1627
"元 (metacharacter) 的任意文本字串,這會非常有用。例如: ::"
1628
1628
1629
1629
#: ../../library/re.rst:1160
@@ -1657,7 +1657,7 @@ msgid ""
1657
1657
"This function must not be used for the replacement string in :func:`sub` "
1658
1658
"and :func:`subn`, only backslashes should be escaped. For example::"
1659
1659
msgstr ""
1660
- "此函式不得用於 :func:`sub` 和 :func:`subn` 中的替換字串,僅應轉義反斜線 。例"
1660
+ "此函式不得用於 :func:`sub` 和 :func:`subn` 中的替換字串,僅應跳脫反斜線 。例"
1661
1661
"如: ::"
1662
1662
1663
1663
#: ../../library/re.rst:1174
@@ -1674,7 +1674,7 @@ msgstr ""
1674
1674
1675
1675
#: ../../library/re.rst:1179
1676
1676
msgid "The ``'_'`` character is no longer escaped."
1677
- msgstr "``'_'`` 字元不再被轉義 。"
1677
+ msgstr "``'_'`` 字元不再被跳脫 。"
1678
1678
1679
1679
#: ../../library/re.rst:1182
1680
1680
msgid ""
0 commit comments