Skip to content

Commit fde4908

Browse files
sync with cpython f74e2ee2
1 parent 5079a20 commit fde4908

File tree

2 files changed

+44
-36
lines changed

2 files changed

+44
-36
lines changed

howto/regex.po

Lines changed: 41 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.14\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-01-22 16:55+0000\n"
11+
"POT-Creation-Date: 2026-04-05 00:23+0000\n"
1212
"PO-Revision-Date: 2018-05-23 14:37+0000\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -20,7 +20,8 @@ msgstr ""
2020
"Plural-Forms: nplurals=1; plural=0;\n"
2121

2222
#: ../../howto/regex.rst:5
23-
msgid "Regular Expression HOWTO"
23+
#, fuzzy
24+
msgid "Regular expression HOWTO"
2425
msgstr "如何使用正規表示式"
2526

2627
#: ../../howto/regex.rst:0
@@ -89,7 +90,7 @@ msgid ""
8990
msgstr ""
9091

9192
#: ../../howto/regex.rst:51
92-
msgid "Simple Patterns"
93+
msgid "Simple patterns"
9394
msgstr ""
9495

9596
#: ../../howto/regex.rst:53
@@ -107,7 +108,7 @@ msgid ""
107108
msgstr ""
108109

109110
#: ../../howto/regex.rst:63
110-
msgid "Matching Characters"
111+
msgid "Matching characters"
111112
msgstr ""
112113

113114
#: ../../howto/regex.rst:65
@@ -278,7 +279,7 @@ msgid ""
278279
msgstr ""
279280

280281
#: ../../howto/regex.rst:163
281-
msgid "Repeating Things"
282+
msgid "Repeating things"
282283
msgstr ""
283284

284285
#: ../../howto/regex.rst:165
@@ -394,7 +395,7 @@ msgid ""
394395
"a ``'d'``."
395396
msgstr ""
396397

397-
#: ../../howto/regex.rst:209 ../../howto/regex.rst:213
398+
#: ../../howto/regex.rst:209
398399
msgid "6"
399400
msgstr "6"
400401

@@ -406,6 +407,10 @@ msgstr "``abc``"
406407
msgid "Back up again, so that ``[bcd]*`` is only matching ``bc``."
407408
msgstr ""
408409

410+
#: ../../howto/regex.rst:213
411+
msgid "7"
412+
msgstr ""
413+
409414
#: ../../howto/regex.rst:213
410415
msgid ""
411416
"Try ``b`` again. This time the character at the current position is "
@@ -472,8 +477,9 @@ msgid ""
472477
msgstr ""
473478

474479
#: ../../howto/regex.rst:259
475-
msgid "Using Regular Expressions"
476-
msgstr ""
480+
#, fuzzy
481+
msgid "Using regular expressions"
482+
msgstr "如何使用正規表示式"
477483

478484
#: ../../howto/regex.rst:261
479485
msgid ""
@@ -484,8 +490,9 @@ msgid ""
484490
msgstr ""
485491

486492
#: ../../howto/regex.rst:268
487-
msgid "Compiling Regular Expressions"
488-
msgstr ""
493+
#, fuzzy
494+
msgid "Compiling regular expressions"
495+
msgstr "如何使用正規表示式"
489496

490497
#: ../../howto/regex.rst:270
491498
msgid ""
@@ -535,7 +542,7 @@ msgid ""
535542
msgstr ""
536543

537544
#: ../../howto/regex.rst:299
538-
msgid "The Backslash Plague"
545+
msgid "The backslash plague"
539546
msgstr ""
540547

541548
#: ../../howto/regex.rst:301
@@ -613,8 +620,8 @@ msgstr ""
613620
msgid ""
614621
"In addition, special escape sequences that are valid in regular expressions, "
615622
"but not valid as Python string literals, now result in a :exc:"
616-
"`DeprecationWarning` and will eventually become a :exc:`SyntaxError`, which "
617-
"means the sequences will be invalid if raw string notation or escaping the "
623+
"`SyntaxWarning` and will eventually become a :exc:`SyntaxError`, which means "
624+
"the sequences will be invalid if raw string notation or escaping the "
618625
"backslashes isn't used."
619626
msgstr ""
620627

@@ -647,7 +654,7 @@ msgid "``r\"\\w+\\s+\\1\"``"
647654
msgstr "``r\"\\w+\\s+\\1\"``"
648655

649656
#: ../../howto/regex.rst:355
650-
msgid "Performing Matches"
657+
msgid "Performing matches"
651658
msgstr ""
652659

653660
#: ../../howto/regex.rst:357
@@ -689,7 +696,7 @@ msgid "``findall()``"
689696
msgstr "``findall()``"
690697

691698
#: ../../howto/regex.rst:371
692-
msgid "Find all substrings where the RE matches, and returns them as a list."
699+
msgid "Find all substrings where the RE matches, and return them as a list."
693700
msgstr ""
694701

695702
#: ../../howto/regex.rst:374
@@ -698,7 +705,7 @@ msgstr "``finditer()``"
698705

699706
#: ../../howto/regex.rst:374
700707
msgid ""
701-
"Find all substrings where the RE matches, and returns them as an :term:"
708+
"Find all substrings where the RE matches, and return them as an :term:"
702709
"`iterator`."
703710
msgstr ""
704711

@@ -905,8 +912,8 @@ msgid ""
905912
"The ``r`` prefix, making the literal a raw string literal, is needed in this "
906913
"example because escape sequences in a normal \"cooked\" string literal that "
907914
"are not recognized by Python, as opposed to regular expressions, now result "
908-
"in a :exc:`DeprecationWarning` and will eventually become a :exc:"
909-
"`SyntaxError`. See :ref:`the-backslash-plague`."
915+
"in a :exc:`SyntaxWarning` and will eventually become a :exc:`SyntaxError`. "
916+
"See :ref:`the-backslash-plague`."
910917
msgstr ""
911918

912919
#: ../../howto/regex.rst:479
@@ -940,7 +947,8 @@ msgstr ""
940947
"(29, 31)"
941948

942949
#: ../../howto/regex.rst:495
943-
msgid "Module-Level Functions"
950+
#, fuzzy
951+
msgid "Module-level functions"
944952
msgstr "模組層級函式"
945953

946954
#: ../../howto/regex.rst:497
@@ -982,7 +990,7 @@ msgid ""
982990
msgstr ""
983991

984992
#: ../../howto/regex.rst:522
985-
msgid "Compilation Flags"
993+
msgid "Compilation flags"
986994
msgstr ""
987995

988996
#: ../../howto/regex.rst:526
@@ -1141,7 +1149,7 @@ msgid ""
11411149
"the whitespace is in a character class or preceded by an unescaped "
11421150
"backslash; this lets you organize and indent the RE more clearly. This flag "
11431151
"also lets you put comments within a RE that will be ignored by the engine; "
1144-
"comments are marked by a ``'#'`` that's neither in a character class or "
1152+
"comments are marked by a ``'#'`` that's neither in a character class nor "
11451153
"preceded by an unescaped backslash."
11461154
msgstr ""
11471155

@@ -1186,7 +1194,7 @@ msgid ""
11861194
msgstr ""
11871195

11881196
#: ../../howto/regex.rst:673
1189-
msgid "More Pattern Power"
1197+
msgid "More pattern power"
11901198
msgstr ""
11911199

11921200
#: ../../howto/regex.rst:675
@@ -1197,7 +1205,7 @@ msgid ""
11971205
msgstr ""
11981206

11991207
#: ../../howto/regex.rst:683
1200-
msgid "More Metacharacters"
1208+
msgid "More metacharacters"
12011209
msgstr ""
12021210

12031211
#: ../../howto/regex.rst:685
@@ -1581,7 +1589,7 @@ msgid ""
15811589
msgstr ""
15821590

15831591
#: ../../howto/regex.rst:879
1584-
msgid "Non-capturing and Named Groups"
1592+
msgid "Non-capturing and named groups"
15851593
msgstr ""
15861594

15871595
#: ../../howto/regex.rst:881
@@ -1766,7 +1774,7 @@ msgstr ""
17661774
"'the the'"
17671775

17681776
#: ../../howto/regex.rst:983
1769-
msgid "Lookahead Assertions"
1777+
msgid "Lookahead assertions"
17701778
msgstr ""
17711779

17721780
#: ../../howto/regex.rst:985
@@ -1907,7 +1915,7 @@ msgid "``.*[.](?!bat$|exe$)[^.]*$``"
19071915
msgstr "``.*[.](?!bat$|exe$)[^.]*$``"
19081916

19091917
#: ../../howto/regex.rst:1065
1910-
msgid "Modifying Strings"
1918+
msgid "Modifying strings"
19111919
msgstr ""
19121920

19131921
#: ../../howto/regex.rst:1067
@@ -1946,7 +1954,7 @@ msgid ""
19461954
msgstr ""
19471955

19481956
#: ../../howto/regex.rst:1087
1949-
msgid "Splitting Strings"
1957+
msgid "Splitting strings"
19501958
msgstr ""
19511959

19521960
#: ../../howto/regex.rst:1089
@@ -2037,7 +2045,7 @@ msgstr ""
20372045
"['Words', 'words, words.']"
20382046

20392047
#: ../../howto/regex.rst:1141
2040-
msgid "Search and Replace"
2048+
msgid "Search and replace"
20412049
msgstr ""
20422050

20432051
#: ../../howto/regex.rst:1143
@@ -2214,7 +2222,7 @@ msgid ""
22142222
msgstr ""
22152223

22162224
#: ../../howto/regex.rst:1240
2217-
msgid "Common Problems"
2225+
msgid "Common problems"
22182226
msgstr ""
22192227

22202228
#: ../../howto/regex.rst:1242
@@ -2226,7 +2234,7 @@ msgid ""
22262234
msgstr ""
22272235

22282236
#: ../../howto/regex.rst:1248
2229-
msgid "Use String Methods"
2237+
msgid "Use string methods"
22302238
msgstr ""
22312239

22322240
#: ../../howto/regex.rst:1250
@@ -2333,7 +2341,7 @@ msgid ""
23332341
msgstr ""
23342342

23352343
#: ../../howto/regex.rst:1314
2336-
msgid "Greedy versus Non-Greedy"
2344+
msgid "Greedy versus non-greedy"
23372345
msgstr ""
23382346

23392347
#: ../../howto/regex.rst:1316
@@ -2457,9 +2465,9 @@ msgstr ""
24572465
#: ../../howto/regex.rst:1390
24582466
msgid ""
24592467
"Regular expressions are a complicated topic. Did this document help you "
2460-
"understand them? Were there parts that were unclear, or Problems you "
2468+
"understand them? Were there parts that were unclear, or problems you "
24612469
"encountered that weren't covered here? If so, please send suggestions for "
2462-
"improvements to the author."
2470+
"improvements to the :ref:`issue tracker <using-the-tracker>`."
24632471
msgstr ""
24642472

24652473
#: ../../howto/regex.rst:1395

reference/lexical_analysis.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.14\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2025-12-17 17:02+0000\n"
9+
"POT-Creation-Date: 2026-04-05 00:23+0000\n"
1010
"PO-Revision-Date: 2018-05-23 16:17+0000\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -797,8 +797,8 @@ msgstr ""
797797

798798
#: ../../reference/lexical_analysis.rst:559
799799
msgid ""
800-
"These sets based on the *XID_Start* and *XID_Continue* sets as defined by "
801-
"the Unicode standard annex `UAX-31`_. Python's ``xid_start`` additionally "
800+
"These sets are based on the *XID_Start* and *XID_Continue* sets as defined "
801+
"by the Unicode standard annex `UAX-31`_. Python's ``xid_start`` additionally "
802802
"includes the underscore (``_``). Note that Python does not necessarily "
803803
"conform to `UAX-31`_."
804804
msgstr ""

0 commit comments

Comments
 (0)