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

Skip to content

Commit 521c9a5

Browse files
josixweblate
authored andcommitted
Translated using Weblate (regex (generated) (regex))
Currently translated at 94.4% (270 of 286 strings) Translation: python-doc-zhtw/howto Translate-URL: http://weblate.andyjjrt.cc/projects/python-doc-zhtw/howto/regex/
1 parent 98ebb1c commit 521c9a5

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

howto/regex.po

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ msgstr ""
1010
"Project-Id-Version: Python 3.11\n"
1111
"Report-Msgid-Bugs-To: \n"
1212
"POT-Creation-Date: 2022-10-15 20:43+0000\n"
13-
"PO-Revision-Date: 2023-05-05 12:57+0000\n"
14-
"Last-Translator: CTHua <illiew2470+pythonTW@gmail.com>\n"
13+
"PO-Revision-Date: 2023-05-05 12:58+0000\n"
14+
"Last-Translator: Josix <josixwang@gmail.com>\n"
1515
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-tw)"
1616
"\n"
1717
"Language: regex\n"
@@ -2158,29 +2158,26 @@ msgstr ""
21582158
"這使得這個任務超出了 :meth:`!replace` 的能力範圍。)"
21592159

21602160
#: ../../howto/regex.rst:1259
2161-
#, fuzzy
21622161
msgid ""
21632162
"Another common task is deleting every occurrence of a single character from "
21642163
"a string or replacing it with another single character. You might do this "
21652164
"with something like ``re.sub('\\n', ' ', S)``, but :meth:`~str.translate` is "
21662165
"capable of doing both tasks and will be faster than any regular expression "
21672166
"operation can be."
21682167
msgstr ""
2169-
"另一個常見的任務是從字串中刪除某個特定字元的所有出現,或以另一個單一字元取代"
2170-
"它。你可能會透過類似這樣的指令實現:``re.sub('\\n"
2171-
"', ' ', S)``,但 :meth:`~str.translate` "
2172-
"可同時做到這兩件事情且速度比正規表示式操作更快。"
2168+
"另一個常見的任務是從字符串中刪除每個單個字符的出現或用另一個單個字符替換它。"
2169+
"你可以使用像 ``re.sub('\\n"
2170+
"', ' ', S)`` 這樣的表達式來完成這個任務,但是 :meth:`~str.translate` "
2171+
"方法能夠完成這兩個任務,而且比任何正則表達式的操作都要快。"
21732172

21742173
#: ../../howto/regex.rst:1265
2175-
#, fuzzy
21762174
msgid ""
21772175
"In short, before turning to the :mod:`re` module, consider whether your "
21782176
"problem can be solved with a faster and simpler string method."
2179-
msgstr "簡而言之,在使用 :mod:`re` "
2180-
"模組之前,請考慮是否可以使用更快且更簡單的字串方法來解決您的問題。"
2177+
msgstr "總之,在使用 :mod:`re` "
2178+
"模塊之前,請考慮你的問題是否可以用更快、更簡單的字符串方法解決。"
21812179

21822180
#: ../../howto/regex.rst:1270
2183-
#, fuzzy
21842181
msgid "match() versus search()"
21852182
msgstr "match() 與 search() 的差別"
21862183

0 commit comments

Comments
 (0)