Skip to content

Commit 01fffae

Browse files
[po] auto sync
1 parent e9f8294 commit 01fffae

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "93.75%", "updated_at": "2024-09-20T09:21:45Z"}
1+
{"translation": "93.75%", "updated_at": "2024-09-20T20:20:59Z"}

howto/regex.po

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ msgid ""
1818
msgstr ""
1919
"Project-Id-Version: Python 3.9\n"
2020
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2024-09-06 19:48+0000\n"
21+
"POT-Creation-Date: 2024-09-20 16:52+0000\n"
2222
"PO-Revision-Date: 2017-02-16 17:45+0000\n"
2323
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
2424
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -98,8 +98,9 @@ msgid ""
9898
"be slower than an elaborate regular expression, it will also probably be "
9999
"more understandable."
100100
msgstr ""
101-
"正则表达式语言相对较小且受限,因此并非所有的字符串处理任务都能用正则表达式完成。有些任务尽管*可以*用正则表达式来完成,但表达式会变得非常复杂。在这些情况下,最好通过编写"
102-
" Python 代码来进行处理。也许 Python 代码的运行速度会比精心设计的正则表达式慢,但通常更容易理解。"
101+
"正则表达式语言相对较小且受限,因此并非所有的字符串处理任务都能用正则表达式完成。有些任务尽管 *可以* "
102+
"用正则表达式来完成,但表达式会变得非常复杂。在这些情况下,最好通过编写 Python 代码来进行处理。也许 Python "
103+
"代码的运行速度会比精心设计的正则表达式慢,但通常更容易理解。"
103104

104105
#: ../../howto/regex.rst:51
105106
msgid "Simple Patterns"
@@ -131,7 +132,7 @@ msgid ""
131132
"``TEST`` as well; more about this later.)"
132133
msgstr ""
133134
"大多数字符在正则表达式中会简单地匹配自身。例如,正则表达式 ``test`` 将会精确地匹配到 ``test`` "
134-
"。(你可以启用不区分大小写模式,让这个正则也匹配 ``Test`` 或 ``TEST`` 关于这一点,稍后会详细讨论。)"
135+
"。(你可以启用不区分大小写模式,让这个正则也匹配 ``Test`` 或 ``TEST`` 关于这一点,稍后会详细讨论。)"
135136

136137
#: ../../howto/regex.rst:70
137138
msgid ""
@@ -527,7 +528,7 @@ msgstr ""
527528

528529
#: ../../howto/regex.rst:256
529530
msgid "Using Regular Expressions"
530-
msgstr "正则表达式的使用"
531+
msgstr "使用正则表达式"
531532

532533
#: ../../howto/regex.rst:258
533534
msgid ""
@@ -678,7 +679,7 @@ msgid ""
678679
" the backslashes isn't used."
679680
msgstr ""
680681
"此外,某些在正则表达式中有效,但在 Python 普通字符串字面量中无效的特殊转义序列,现在会引发导致 "
681-
":exc:`DeprecationWarning` (弃用警告) ,并且在未来可能会变为一个 :exc:`SyntaxError` (语法错误) "
682+
":exc:`DeprecationWarning` ,并且在未来可能会变为 :exc:`SyntaxError` "
682683
"。这意味着,如果没有使用原始字符串就直接书写正则本身,这种特殊序列将变得无效。"
683684

684685
#: ../../howto/regex.rst:341
@@ -859,7 +860,7 @@ msgstr "``span()``"
859860

860861
#: ../../howto/regex.rst:426
861862
msgid "Return a tuple containing the (start, end) positions of the match"
862-
msgstr "返回包含匹配 (起始, 结束) 位置的元组"
863+
msgstr "返回包含匹配 (start, end) 位置的元组"
863864

864865
#: ../../howto/regex.rst:430
865866
msgid "Trying these methods will soon clarify their meaning::"
@@ -1019,15 +1020,15 @@ msgstr ":const:`IGNORECASE`, :const:`I`"
10191020

10201021
#: ../../howto/regex.rst:546
10211022
msgid "Do case-insensitive matches."
1022-
msgstr "进行忽略大小写的匹配。"
1023+
msgstr "进行大小写不敏感匹配。"
10231024

10241025
#: ../../howto/regex.rst:548
10251026
msgid ":const:`LOCALE`, :const:`L`"
10261027
msgstr ":const:`LOCALE`, :const:`L`"
10271028

10281029
#: ../../howto/regex.rst:548
10291030
msgid "Do a locale-aware match."
1030-
msgstr "进行区域设置感知的匹配。"
1031+
msgstr "进行区域设置感知匹配。"
10311032

10321033
#: ../../howto/regex.rst:550
10331034
msgid ":const:`MULTILINE`, :const:`M`"
@@ -1061,13 +1062,13 @@ msgid ""
10611062
" lowercasing doesn't take the current locale into account; it will if you "
10621063
"also set the :const:`LOCALE` flag."
10631064
msgstr ""
1064-
"执行不区分大小写的匹配;字符类和字面字符串将通过忽略大小写来匹配字母。 例如,``[A-Z]`` 也匹配小写字母。 除非使用 "
1065-
":const:`ASCII` 标志来禁用非ASCII匹配,否则完全 Unicode 匹配也有效。 当 Unicode 模式 ``[a-z]`` 或 "
1066-
"``[A-Z]`` 与 :const:`IGNORECASE` 标志结合使用时,它们将匹配 52 个 ASCII 字母和 4 个额外的非 ASCII "
1067-
"字母:'İ' (U+0130拉丁大写字母 I,带上面的点),'ı' (U+0131,拉丁文小写字母无点 i),'s' (U+017F,拉丁文小写字母长"
1068-
" s) 和'K' (U+212A开尔文符号)。 ``Spam`` 将匹配 ``'Spam'``,``'spam'``,``'spAM'`` 或 "
1069-
"``'ſpam'`` (后者仅在 Unicode 模式下匹配)。 此小写不考虑当前区域设置;如果你还设置了 :const:`LOCALE` "
1070-
"标志,则将考虑。"
1065+
"进行大小写不敏感的匹配:字符类和普通字符串都会以忽略大小写的方式来匹配字母。例如,``[A-Z]`` 同样可以匹配小写字母。默认情况下,正则表达式支持全"
1066+
" Unicode 匹配,除非使用了 :const:`ASCII` 标志来禁用非 ASCII 字符匹配。当 Unicode pattern "
1067+
"``[a-z]`` 或 ``[A-Z]`` 与 :const:`IGNORECASE` 标志结合使用时,将会匹配 52 个 ASCII 字母,以及 4 "
1068+
"个非 ASCII 字母:‘İ’(U+0130, 拉丁大写字母 I 头上带点)、 ‘ı’(U+0131, 拉丁小写字母 i "
1069+
"不带点)、‘ſ’(U+017F, 拉丁小写字母长 s)和 ‘K’(U+212A, 开尔文符号。 ``Spam`` 可以匹配 ``'Spam'`` "
1070+
"``'spam'`` 、 ``'spAM'`` 或 ``'ſpam'`` (后者的匹配仅在 Unicode 模式下有效)。 "
1071+
"这种大小写转换不考虑当前区域设置,如果设置了 :const:`LOCALE` 标记,则会考虑区域设置。"
10711072

10721073
#: ../../howto/regex.rst:580
10731074
msgid ""

0 commit comments

Comments
 (0)