@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.11\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2023-08-25 14:43 +0000\n "
14+ "POT-Creation-Date : 2023-08-25 20:36 +0000\n "
1515"PO-Revision-Date : 2023-05-24 02:19+0000\n "
1616"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n "
1717"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -958,17 +958,17 @@ msgstr ""
958958
959959msgid ""
960960"Scan through *string* looking for the first location where the regular "
961- "expression *pattern* produces a match, and return a corresponding :ref :"
962- "`match object <match-objects> `. Return ``None`` if no position in the "
963- "string matches the pattern; note that this is different from finding a zero-"
964- "length match at some point in the string."
961+ "expression *pattern* produces a match, and return a corresponding :class :"
962+ "`~re.Match `. Return ``None`` if no position in the string matches the "
963+ "pattern; note that this is different from finding a zero-length match at "
964+ "some point in the string."
965965msgstr ""
966966
967967msgid ""
968968"If zero or more characters at the beginning of *string* match the regular "
969- "expression *pattern*, return a corresponding :ref:`match object <match- "
970- "objects>`. Return `` None`` if the string does not match the pattern; note "
971- "that this is different from a zero-length match."
969+ "expression *pattern*, return a corresponding :class:`~re.Match`. Return "
970+ "`` None`` if the string does not match the pattern; note that this is "
971+ "different from a zero-length match."
972972msgstr ""
973973
974974msgid ""
@@ -983,9 +983,8 @@ msgstr ""
983983
984984msgid ""
985985"If the whole *string* matches the regular expression *pattern*, return a "
986- "corresponding :ref:`match object <match-objects>`. Return ``None`` if the "
987- "string does not match the pattern; note that this is different from a zero-"
988- "length match."
986+ "corresponding :class:`~re.Match`. Return ``None`` if the string does not "
987+ "match the pattern; note that this is different from a zero-length match."
989988msgstr ""
990989
991990msgid ""
@@ -1038,10 +1037,10 @@ msgid "Non-empty matches can now start just after a previous empty match."
10381037msgstr ""
10391038
10401039msgid ""
1041- "Return an :term:`iterator` yielding :ref:`match objects <match-objects>` "
1042- "over all non- overlapping matches for the RE *pattern* in *string*. The "
1043- "*string* is scanned left-to-right, and matches are returned in the order "
1044- "found. Empty matches are included in the result."
1040+ "Return an :term:`iterator` yielding :class:`~re.Match` objects over all non- "
1041+ "overlapping matches for the RE *pattern* in *string*. The *string* is "
1042+ "scanned left-to-right, and matches are returned in the order found. Empty "
1043+ "matches are included in the result."
10451044msgstr ""
10461045
10471046msgid ""
@@ -1059,11 +1058,11 @@ msgstr ""
10591058
10601059msgid ""
10611060"If *repl* is a function, it is called for every non-overlapping occurrence "
1062- "of *pattern*. The function takes a single :ref:`match object <match- "
1063- "objects>` argument, and returns the replacement string. For example::"
1061+ "of *pattern*. The function takes a single :class:`~re.Match` argument, and "
1062+ "returns the replacement string. For example::"
10641063msgstr ""
10651064
1066- msgid "The pattern may be a string or a :ref:`pattern object <re-objects> `."
1065+ msgid "The pattern may be a string or a :class:`~re.Pattern `."
10671066msgstr ""
10681067
10691068msgid ""
@@ -1165,17 +1164,20 @@ msgstr ""
11651164msgid "Regular Expression Objects"
11661165msgstr ""
11671166
1167+ msgid "Compiled regular expression object returned by :func:`re.compile`."
1168+ msgstr ""
1169+
11681170msgid ""
1169- "Compiled regular expression objects support the following methods and "
1170- "attributes: "
1171+ ":py:class:`re.Pattern` supports ``[]`` to indicate a Unicode (str) or bytes "
1172+ "pattern. See :ref:`types-genericalias`. "
11711173msgstr ""
11721174
11731175msgid ""
11741176"Scan through *string* looking for the first location where this regular "
1175- "expression produces a match, and return a corresponding :ref:`match object "
1176- "<match-objects>`. Return ``None`` if no position in the string matches the "
1177- "pattern; note that this is different from finding a zero-length match at "
1178- "some point in the string."
1177+ "expression produces a match, and return a corresponding :class:`~re.Match`. "
1178+ "Return ``None`` if no position in the string matches the pattern; note that "
1179+ "this is different from finding a zero-length match at some point in the "
1180+ "string."
11791181msgstr ""
11801182
11811183msgid ""
@@ -1197,9 +1199,9 @@ msgstr ""
11971199
11981200msgid ""
11991201"If zero or more characters at the *beginning* of *string* match this regular "
1200- "expression, return a corresponding :ref:`match object <match-objects>`. "
1201- "Return ``None`` if the string does not match the pattern; note that this is "
1202- "different from a zero-length match."
1202+ "expression, return a corresponding :class:`~re.Match`. Return ``None`` if "
1203+ "the string does not match the pattern; note that this is different from a "
1204+ "zero-length match."
12031205msgstr ""
12041206
12051207msgid ""
@@ -1214,9 +1216,8 @@ msgstr ""
12141216
12151217msgid ""
12161218"If the whole *string* matches this regular expression, return a "
1217- "corresponding :ref:`match object <match-objects>`. Return ``None`` if the "
1218- "string does not match the pattern; note that this is different from a zero-"
1219- "length match."
1219+ "corresponding :class:`~re.Match`. Return ``None`` if the string does not "
1220+ "match the pattern; note that this is different from a zero-length match."
12201221msgstr ""
12211222
12221223msgid "Identical to the :func:`split` function, using the compiled pattern."
@@ -1272,7 +1273,12 @@ msgid ""
12721273"you can test whether there was a match with a simple ``if`` statement::"
12731274msgstr ""
12741275
1275- msgid "Match objects support the following methods and attributes:"
1276+ msgid "Match object returned by successful ``match``\\ es and ``search``\\ es."
1277+ msgstr ""
1278+
1279+ msgid ""
1280+ ":py:class:`re.Match` supports ``[]`` to indicate a Unicode (str) or bytes "
1281+ "match. See :ref:`types-genericalias`."
12761282msgstr ""
12771283
12781284msgid ""
@@ -1600,10 +1606,10 @@ msgstr ""
16001606
16011607msgid ""
16021608"If one wants more information about all matches of a pattern than the "
1603- "matched text, :func:`finditer` is useful as it provides :ref:`match objects "
1604- "<match- objects>` instead of strings. Continuing with the previous example, "
1605- "if a writer wanted to find all of the adverbs *and their positions* in some "
1606- "text, they would use :func:`finditer` in the following manner::"
1609+ "matched text, :func:`finditer` is useful as it provides :class:`~re.Match` "
1610+ "objects instead of strings. Continuing with the previous example, if a "
1611+ "writer wanted to find all of the adverbs *and their positions* in some text, "
1612+ "they would use :func:`finditer` in the following manner::"
16071613msgstr ""
16081614
16091615msgid "Raw String Notation"
0 commit comments