@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version : Python 3.12\n "
1515"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2023-08-11 14:13+0000\n "
16+ "POT-Creation-Date : 2023-09-01 14:13+0000\n "
1717"PO-Revision-Date : 2021-06-28 01:12+0000\n "
1818"
Last-Translator :
Maciej Olko <[email protected] >, 2023\n "
1919"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -960,17 +960,17 @@ msgstr ""
960960
961961msgid ""
962962"Scan through *string* looking for the first location where the regular "
963- "expression *pattern* produces a match, and return a corresponding :ref :"
964- "`match object <match-objects> `. Return ``None`` if no position in the "
965- "string matches the pattern; note that this is different from finding a zero-"
966- "length match at some point in the string."
963+ "expression *pattern* produces a match, and return a corresponding :class :"
964+ "`~re.Match `. Return ``None`` if no position in the string matches the "
965+ "pattern; note that this is different from finding a zero-length match at "
966+ "some point in the string."
967967msgstr ""
968968
969969msgid ""
970970"If zero or more characters at the beginning of *string* match the regular "
971- "expression *pattern*, return a corresponding :ref:`match object <match- "
972- "objects>`. Return `` None`` if the string does not match the pattern; note "
973- "that this is different from a zero-length match."
971+ "expression *pattern*, return a corresponding :class:`~re.Match`. Return "
972+ "`` None`` if the string does not match the pattern; note that this is "
973+ "different from a zero-length match."
974974msgstr ""
975975
976976msgid ""
@@ -985,9 +985,8 @@ msgstr ""
985985
986986msgid ""
987987"If the whole *string* matches the regular expression *pattern*, return a "
988- "corresponding :ref:`match object <match-objects>`. Return ``None`` if the "
989- "string does not match the pattern; note that this is different from a zero-"
990- "length match."
988+ "corresponding :class:`~re.Match`. Return ``None`` if the string does not "
989+ "match the pattern; note that this is different from a zero-length match."
991990msgstr ""
992991
993992msgid ""
@@ -1040,10 +1039,10 @@ msgid "Non-empty matches can now start just after a previous empty match."
10401039msgstr ""
10411040
10421041msgid ""
1043- "Return an :term:`iterator` yielding :ref:`match objects <match-objects>` "
1044- "over all non- overlapping matches for the RE *pattern* in *string*. The "
1045- "*string* is scanned left-to-right, and matches are returned in the order "
1046- "found. Empty matches are included in the result."
1042+ "Return an :term:`iterator` yielding :class:`~re.Match` objects over all non- "
1043+ "overlapping matches for the RE *pattern* in *string*. The *string* is "
1044+ "scanned left-to-right, and matches are returned in the order found. Empty "
1045+ "matches are included in the result."
10471046msgstr ""
10481047
10491048msgid ""
@@ -1061,11 +1060,11 @@ msgstr ""
10611060
10621061msgid ""
10631062"If *repl* is a function, it is called for every non-overlapping occurrence "
1064- "of *pattern*. The function takes a single :ref:`match object <match- "
1065- "objects>` argument, and returns the replacement string. For example::"
1063+ "of *pattern*. The function takes a single :class:`~re.Match` argument, and "
1064+ "returns the replacement string. For example::"
10661065msgstr ""
10671066
1068- msgid "The pattern may be a string or a :ref:`pattern object <re-objects> `."
1067+ msgid "The pattern may be a string or a :class:`~re.Pattern `."
10691068msgstr ""
10701069
10711070msgid ""
@@ -1173,17 +1172,20 @@ msgstr ""
11731172msgid "Regular Expression Objects"
11741173msgstr ""
11751174
1175+ msgid "Compiled regular expression object returned by :func:`re.compile`."
1176+ msgstr ""
1177+
11761178msgid ""
1177- "Compiled regular expression objects support the following methods and "
1178- "attributes: "
1179+ ":py:class:`re.Pattern` supports ``[]`` to indicate a Unicode (str) or bytes "
1180+ "pattern. See :ref:`types-genericalias`. "
11791181msgstr ""
11801182
11811183msgid ""
11821184"Scan through *string* looking for the first location where this regular "
1183- "expression produces a match, and return a corresponding :ref:`match object "
1184- "<match-objects>`. Return ``None`` if no position in the string matches the "
1185- "pattern; note that this is different from finding a zero-length match at "
1186- "some point in the string."
1185+ "expression produces a match, and return a corresponding :class:`~re.Match`. "
1186+ "Return ``None`` if no position in the string matches the pattern; note that "
1187+ "this is different from finding a zero-length match at some point in the "
1188+ "string."
11871189msgstr ""
11881190
11891191msgid ""
@@ -1205,9 +1207,9 @@ msgstr ""
12051207
12061208msgid ""
12071209"If zero or more characters at the *beginning* of *string* match this regular "
1208- "expression, return a corresponding :ref:`match object <match-objects>`. "
1209- "Return ``None`` if the string does not match the pattern; note that this is "
1210- "different from a zero-length match."
1210+ "expression, return a corresponding :class:`~re.Match`. Return ``None`` if "
1211+ "the string does not match the pattern; note that this is different from a "
1212+ "zero-length match."
12111213msgstr ""
12121214
12131215msgid ""
@@ -1222,9 +1224,8 @@ msgstr ""
12221224
12231225msgid ""
12241226"If the whole *string* matches this regular expression, return a "
1225- "corresponding :ref:`match object <match-objects>`. Return ``None`` if the "
1226- "string does not match the pattern; note that this is different from a zero-"
1227- "length match."
1227+ "corresponding :class:`~re.Match`. Return ``None`` if the string does not "
1228+ "match the pattern; note that this is different from a zero-length match."
12281229msgstr ""
12291230
12301231msgid "Identical to the :func:`split` function, using the compiled pattern."
@@ -1280,7 +1281,12 @@ msgid ""
12801281"you can test whether there was a match with a simple ``if`` statement::"
12811282msgstr ""
12821283
1283- msgid "Match objects support the following methods and attributes:"
1284+ msgid "Match object returned by successful ``match``\\ es and ``search``\\ es."
1285+ msgstr ""
1286+
1287+ msgid ""
1288+ ":py:class:`re.Match` supports ``[]`` to indicate a Unicode (str) or bytes "
1289+ "match. See :ref:`types-genericalias`."
12841290msgstr ""
12851291
12861292msgid ""
@@ -1608,10 +1614,10 @@ msgstr ""
16081614
16091615msgid ""
16101616"If one wants more information about all matches of a pattern than the "
1611- "matched text, :func:`finditer` is useful as it provides :ref:`match objects "
1612- "<match- objects>` instead of strings. Continuing with the previous example, "
1613- "if a writer wanted to find all of the adverbs *and their positions* in some "
1614- "text, they would use :func:`finditer` in the following manner::"
1617+ "matched text, :func:`finditer` is useful as it provides :class:`~re.Match` "
1618+ "objects instead of strings. Continuing with the previous example, if a "
1619+ "writer wanted to find all of the adverbs *and their positions* in some text, "
1620+ "they would use :func:`finditer` in the following manner::"
16151621msgstr ""
16161622
16171623msgid "Raw String Notation"
0 commit comments