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

Skip to content

Commit fec9f33

Browse files
[po] auto sync
1 parent c38f004 commit fec9f33

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

howto/regex.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ msgid ""
219219
"``\\w`` in a string pattern by supplying the :const:`re.ASCII` flag when "
220220
"compiling the regular expression."
221221
msgstr ""
222-
"让我们举一个例子:``\\w`` 匹配任何字母数字字符。 如果正则表达式以 bytes 类型表示,``\\w``相当于字符类 "
222+
"让我们举一个例子:``\\w`` 匹配任何字母数字字符。 如果正则表达式以 bytes 类型表示,``\\w`` 相当于字符类 "
223223
"``[a-zA-Z0-9_]`` 。如果正则表达式是 str 类型,``\\w`` 将匹配由 :mod:`unicodedata` 模块提供的 "
224224
"Unicode 数据库中标记为字母的所有字符。 通过在编译正则表达式时提供 :const:`re.ASCII` 标志,可以在 str "
225225
"表达式中使用较为狭窄的 ``\\w`` 定义。"
@@ -338,8 +338,8 @@ msgid ""
338338
"For example, ``ca*t`` will match ``'ct'`` (0 ``'a'`` characters), ``'cat'`` "
339339
"(1 ``'a'``), ``'caaat'`` (3 ``'a'`` characters), and so forth."
340340
msgstr ""
341-
"例如,``ca*t`` 将匹配 ``'ct'``0 个 ``'a'``)、``'cat'``1 个 ``'a'``)、 ``'caaat'``(3 "
342-
"个 ``'a'``)等等。"
341+
"例如,``ca*t`` 将匹配 ``'ct'``0 个 ``'a'`` )、``'cat'``1 个 ``'a'`` )、 "
342+
"``'caaat'`` ( 3 个 ``'a'`` )等等。"
343343

344344
#: ../../howto/regex.rst:178
345345
msgid ""
@@ -477,7 +477,7 @@ msgid ""
477477
msgstr ""
478478
"另一个重复元字符是 ``+`` ,表示匹配一次或更多次。请注意 ``*`` 与 ``+`` 之间的差别。``*`` 表示匹配 *零次* "
479479
"或更多次,也就是说它所重复的内容是可以完全不出现的。而 ``+`` 则要求至少出现一次。举一个类似的例子,``ca+t`` 可以匹配 ``'cat'``"
480-
" (1 个``'a'``)或 ``'caaat'``3 个 ``'a'``),但不能匹配 ``'ct'`` 。"
480+
" ( 1 个``'a'`` )或 ``'caaat'``3 个 ``'a'``),但不能匹配 ``'ct'`` 。"
481481

482482
#: ../../howto/regex.rst:233
483483
msgid ""
@@ -486,7 +486,7 @@ msgid ""
486486
"something as being optional. For example, ``home-?brew`` matches either "
487487
"``'homebrew'`` or ``'home-brew'``."
488488
msgstr ""
489-
"还有两个重复限定符。 问号 ``?`` 表示匹配一次或零次。你可以认为它把内容变成了可选的。例如,``home-?brew``可以 匹配 "
489+
"还有两个重复限定符。 问号 ``?`` 表示匹配一次或零次。你可以认为它把内容变成了可选的。例如,``home-?brew`` 可以 匹配 "
490490
"``'homebrew'`` 或 ``'home-brew'``。"
491491

492492
#: ../../howto/regex.rst:238

0 commit comments

Comments
 (0)