55#
66# Translators:
77# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
8+ # Chris Lau, 2024
89#
910#, fuzzy
1011msgid ""
1112msgstr ""
1213"Project-Id-Version : Python 3.12\n "
1314"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2024-05-11 19:07 +0000\n "
15+ "POT-Creation-Date : 2024-08-23 14:51 +0000\n "
1516"PO-Revision-Date : 2024-05-11 00:32+0000\n "
16- "Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com> , 2024\n "
17+ "Last-Translator : Chris Lau , 2024\n "
1718"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1819"MIME-Version : 1.0\n "
1920"Content-Type : text/plain; charset=UTF-8\n "
@@ -42,7 +43,9 @@ msgid ""
4243"This document is an introductory tutorial to using regular expressions in "
4344"Python with the :mod:`re` module. It provides a gentler introduction than "
4445"the corresponding section in the Library Reference."
45- msgstr "本文是关于在 Python 中通过 :mod:`re` 模块使用正则表达式的入门教程。它提供了比“标准库参考”的相关章节更平易的介绍。"
46+ msgstr ""
47+ "本文档是一个关于如何在 Python 中使用 :mod:`re` 模块进行正则表达式操作的入门教程。相较于 Python "
48+ "标准库参考文档中的相关章节,本教程采用了更为浅显易懂的讲解方式。"
4649
4750#: ../../howto/regex.rst:24
4851msgid "Introduction"
@@ -60,10 +63,11 @@ msgid ""
6063"match for the pattern anywhere in this string?\" . You can also use REs to "
6164"modify a string or to split it apart in various ways."
6265msgstr ""
63- "正则表达式(Regular expressions,也叫 REs、 regexs 或 regex patterns),本质上是嵌入 Python "
64- "内部并通过 :mod:`re` "
65- "模块提供的一种微小的、高度专业化的编程语言。使用这种小语言,你可以为想要匹配的可能字符串编写规则;这些字符串可能是英文句子、邮箱地址、TeX "
66- "命令或任何你喜欢的内容。然后,你可以提出诸如“此字符串是否与表达式匹配?”、“字符串中是否存在表达式的匹配项?”之类的问题。你还可以用正则来修改字符串,或以各种方式将其拆分。"
66+ "正则表达式(Regular expression,也称为 RE、 regex 或 regex "
67+ "pattern),本质上是一种微型的、高度专业化的编程语言。在 Python 中,它通过 :mod:`re` "
68+ "模块嵌入并提供使用。利用这种迷你语言,你可以指定一套规则,用于匹配你想要的一系列可能的字符串。这些字符串可以是英文句子、邮箱地址、TeX "
69+ "命令,或者是任何你想要的内容。有了正则表达式,你就可以提出诸如“这个字符串是否匹配该 pattern?”、“在字符串中是否存在与该 pattern "
70+ "相匹配的部分?”之类的问题。此外,你还可以用正则来修改字符串,或以各种方式将其拆分。"
6771
6872#: ../../howto/regex.rst:35
6973msgid ""
0 commit comments