Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a7fc684

Browse files
[po] auto sync
1 parent 44dc2e5 commit a7fc684

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "96.11%", "updated_at": "2024-08-28T10:47:15Z"}
1+
{"translation": "96.11%", "updated_at": "2024-08-29T16:48:17Z"}

howto/regex.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -927,9 +927,9 @@ msgid ""
927927
"with the RE string added as the first argument, and still return either "
928928
"``None`` or a :ref:`match object <match-objects>` instance. ::"
929929
msgstr ""
930-
"你不必创建模式对象并调用其方法;:mod:`re` 模块还提供了顶级函数 "
931-
":func:`~re.match`,:func:`~re.search`:func:`~re.findall`:func:`~re.sub` 等等。"
932-
" 这些函数采用与相应模式方法相同的参数,并将正则字符串作为第一个参数添加,并仍然返回 ``None`` 或 :ref:`匹配对象 <match-"
930+
"除了通过创建 pattern 对象来调用其方法外, :mod:`re` 模块还提供了一些顶层函数,例如 :func:`~re.match` 、 "
931+
":func:`~re.search`:func:`~re.findall`:func:`~re.sub` 等。这些函数的参数与相应的 "
932+
"pattern 对象方法相同,只是需要将正则字符串作为第一个参数传入。它们同样会返回 ``None`` 或 :ref:`匹配对象 <match-"
933933
"objects>` 实例。::"
934934

935935
#: ../../howto/regex.rst:509
@@ -939,7 +939,8 @@ msgid ""
939939
" cache, so future calls using the same RE won't need to parse the pattern "
940940
"again and again."
941941
msgstr ""
942-
"本质上,这些函数只是为你创建一个模式对象,并在其上调用适当的方法。 它们还将编译对象存储在缓存中,因此使用相同的未来调用将不需要一次又一次地解析该模式。"
942+
"在底层实现上,这些函数其实就是为你创建一个 pattern 对象,然后在该对象上调用相应的方法。 "
943+
"同时,它们还将编译后的对象存储在缓存中,这样在后续使用同一正则表达式时,就能避免重复解析 pattern 了。"
943944

944945
#: ../../howto/regex.rst:514
945946
msgid ""

0 commit comments

Comments
 (0)