@@ -721,7 +721,8 @@ msgid ""
721721"the most significant ones will be covered here; consult the :mod:`re` docs "
722722"for a complete listing."
723723msgstr ""
724- "一旦你有一个表示编译正则表达式的对象,你用它做什么? 模式对象有几种方法和属性。 这里只介绍最重要的内容;请参阅 :mod:`re` 文档获取完整列表。"
724+ "当你已经得到一个编译好的正则表达式对象,接下来该怎么用呢?Pattern "
725+ "对象有多个方法和属性,但这里我们只介绍最重要的几个。如果想要了解全部内容,请参阅 :mod:`re` 模块的官开文档。"
725726
726727#: ../../howto/regex.rst:363 ../../howto/regex.rst:417
727728#: ../../howto/regex.rst:1065
@@ -739,23 +740,23 @@ msgstr "``match()``"
739740
740741#: ../../howto/regex.rst:365
741742msgid "Determine if the RE matches at the beginning of the string."
742- msgstr "确定正则是否从字符串的开头匹配。 "
743+ msgstr "检查正则表达式是否能在字符串开头找到匹配 "
743744
744745#: ../../howto/regex.rst:368
745746msgid "``search()``"
746747msgstr "``search()``"
747748
748749#: ../../howto/regex.rst:368
749750msgid "Scan through a string, looking for any location where this RE matches."
750- msgstr "扫描字符串,查找此正则匹配的任何位置 。"
751+ msgstr "扫描整个字符串的所有位置,查找与正则表达式匹配的首个位置 。"
751752
752753#: ../../howto/regex.rst:371
753754msgid "``findall()``"
754755msgstr "``findall()``"
755756
756757#: ../../howto/regex.rst:371
757758msgid "Find all substrings where the RE matches, and returns them as a list."
758- msgstr "找到正则匹配的所有子字符串,并将它们作为列表返回 。"
759+ msgstr "查找所有与正则表达式匹配的子串,并以列表形式返回 。"
759760
760761#: ../../howto/regex.rst:374
761762msgid "``finditer()``"
@@ -765,7 +766,7 @@ msgstr "``finditer()``"
765766msgid ""
766767"Find all substrings where the RE matches, and returns them as an "
767768":term:`iterator`."
768- msgstr "找到正则匹配的所有子字符串,并将它们返回为一个 :term:`iterator`。"
769+ msgstr "查找所有与正则表达式匹配的子串,并以迭代器形式 :term:`iterator` 返回 。"
769770
770771#: ../../howto/regex.rst:378
771772msgid ""
0 commit comments