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

Skip to content

Commit 1cfc8e6

Browse files
[po] auto sync
1 parent d200097 commit 1cfc8e6

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

library/re.po

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# WH-2099 <[email protected]>, 2020
1313
# Freesand Leo <[email protected]>, 2021
1414
# jaystone776 <[email protected]>, 2021
15+
# CC XXXI <[email protected]>, 2021
1516
#
1617
#, fuzzy
1718
msgid ""
@@ -20,7 +21,7 @@ msgstr ""
2021
"Report-Msgid-Bugs-To: \n"
2122
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
2223
"PO-Revision-Date: 2017-02-16 23:24+0000\n"
23-
"Last-Translator: jaystone776 <1732865113@qq.com>, 2021\n"
24+
"Last-Translator: CC XXXI <ccxxxi@qq.com>, 2021\n"
2425
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2526
"MIME-Version: 1.0\n"
2627
"Content-Type: text/plain; charset=UTF-8\n"
@@ -699,7 +700,7 @@ msgid ""
699700
"you will most likely want to use the :func:`search` function rather than the"
700701
" :func:`match` function:"
701702
msgstr ""
702-
"匹配字符串的当前位置,它的前面匹配 ```` 的内容到当前位置。这叫:dfn:`positive lookbehind assertion` "
703+
"匹配字符串的当前位置,它的前面匹配 ``...`` 的内容到当前位置。这叫 :dfn:`positive lookbehind assertion` "
703704
"(正向后视断定)。 ``(?<=abc)def`` 会在 ``'abcdef'`` "
704705
"中找到一个匹配,因为后视会往后看3个字符并检查是否包含匹配的样式。包含的匹配样式必须是定长的,意思就是 ``abc`` 或 ``a|b`` "
705706
"是允许的,但是 ``a*`` 和 ``a{3,4}`` 不可以。注意以 positive lookbehind assertions 开始的样式,如 "
@@ -1005,7 +1006,7 @@ msgid ""
10051006
"compiled regular expressions. Most non-trivial applications always use the "
10061007
"compiled form."
10071008
msgstr ""
1008-
"模块定义了几个函数常量,和一个例外。有些函数是编译后的正则表达式方法的简化版本(少了一些特性)。绝大部分重要的应用,总是会先将正则表达式编译,之后在进行操作。"
1009+
"模块定义了几个函数常量,和一个异常。有些函数是编译后的正则表达式方法的简化版本(少了一些特性)。重要的应用程序大多会在使用前先编译正则表达式。"
10091010

10101011
#: ../../library/re.rst:605
10111012
msgid ""
@@ -1417,8 +1418,7 @@ msgid ""
14171418
" It is never an error if a string contains no match for a pattern. The "
14181419
"error instance has the following additional attributes:"
14191420
msgstr ""
1420-
"``raise`` "
1421-
"一个例外。当传递到函数的字符串不是一个有效正则表达式的时候(比如,包含一个不匹配的括号)或者其他错误在编译时或匹配时产生。如果字符串不包含样式匹配,是不会被视为错误的。错误实例有以下附加属性:"
1421+
"当传递给函数的正则表达式不合法(比如括号不匹配),或者在编译或匹配过程中出现其他错误时,会引发异常。所给字符串不匹配所给模式不会引发异常。异常实例有以下附加属性:"
14221422

14231423
#: ../../library/re.rst:978
14241424
msgid "The unformatted error message."
@@ -1629,8 +1629,8 @@ msgid ""
16291629
msgstr ""
16301630
"返回一个或者多个匹配的子组。如果只有一个参数,结果就是一个字符串,如果有多个参数,结果就是一个元组(每个参数对应一个项),如果没有参数,组1默认到0(整个匹配都被返回)。"
16311631
" 如果一个组N 参数值为 0,相应的返回值就是整个匹配字符串;如果它是一个范围 "
1632-
"[1..99],结果就是相应的括号组字符串。如果一个组号是负数,或者大于样式中定义的组数,一个 :exc:`IndexError` 索引错误就 "
1633-
"``raise``。如果一个组包含在样式的一部分,并被匹配多次,就返回最后一个匹配。::"
1632+
"[1..99],结果就是相应的括号组字符串。如果一个组号是负数,或者大于样式中定义的组数,就引发一个 :exc:`IndexError` "
1633+
"异常。如果一个组包含在样式的一部分,并被匹配多次,就返回最后一个匹配。::"
16341634

16351635
#: ../../library/re.rst:1182
16361636
msgid ""
@@ -1639,8 +1639,8 @@ msgid ""
16391639
"string argument is not used as a group name in the pattern, an "
16401640
":exc:`IndexError` exception is raised."
16411641
msgstr ""
1642-
"如果正则表达式使用了 ``(?P<name>)`` 语法, *groupN* "
1643-
"参数就也可能是命名组合的名字。如果一个字符串参数在样式中未定义为组合名,一个 :exc:`IndexError` 就 ``raise``。"
1642+
"如果正则表达式使用了 ``(?P<name>...)`` 语法, *groupN* "
1643+
"参数就也可能是命名组合的名字。如果一个字符串参数在样式中未定义为组合名,就引发一个 :exc:`IndexError` 异常。"
16441644

16451645
#: ../../library/re.rst:1187
16461646
msgid "A moderately complicated example::"
@@ -1708,8 +1708,8 @@ msgid ""
17081708
msgstr ""
17091709
"注意 ``m.start(group)`` 将会等于 ``m.end(group)`` ,如果 *group* 匹配一个空字符串的话。比如,在 ``m "
17101710
"= re.search('b(c?)', 'cba')`` 之后,``m.start(0)`` 为 1, ``m.end(0)`` 为 2, "
1711-
"``m.start(1)`` 和 ``m.end(1)`` 都是 2, ``m.start(2)`` raise 一个 "
1712-
":exc:`IndexError` 例外。"
1711+
"``m.start(1)`` 和 ``m.end(1)`` 都是 2, ``m.start(2)`` 引发一个 :exc:`IndexError` "
1712+
"异常。"
17131713

17141714
#: ../../library/re.rst:1275
17151715
msgid "An example that will remove *remove_this* from email addresses::"

0 commit comments

Comments
 (0)