Debian Codegraph @

translations/manual/zh_TW/regexp_quick_reference.po

raw
1 # SOME DESCRIPTIVE TITLE.
2 # Copyright (C) Kovid Goyal
3 # This file is distributed under the same license as the calibre package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 # Translators:
7 # Hsiu-Ming Chang <[email protected]>, 2018
8 # Junle Wang, 2022
9 # Hoilc <[email protected]>, 2022
10 # tony shen <[email protected]>, 2026
11 # Dingyuan Wang <[email protected]>, 2026
12 # Pengcheng Guo <[email protected]>, 2026
13 #
14 #, fuzzy
15 msgid ""
16 msgstr ""
17 "Project-Id-Version: calibre 9.3.0\n"
18 "Report-Msgid-Bugs-To: \n"
19 "POT-Creation-Date: 2026-02-21 03:43+0000\n"
20 "PO-Revision-Date: 2017-12-15 03:02+0000\n"
21 "Last-Translator: Pengcheng Guo <[email protected]>, 2026\n"
22 "Language-Team: Chinese (Taiwan) (https://app.transifex.com/calibre/teams/19337/zh_TW/)\n"
23 "MIME-Version: 1.0\n"
24 "Content-Type: text/plain; charset=UTF-8\n"
25 "Content-Transfer-Encoding: 8bit\n"
26 "Language: zh_TW\n"
27 "Plural-Forms: nplurals=1; plural=0;\n"
28
29 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:2
30 msgid "Quick reference for regexp syntax"
31 msgstr "正規表示式語法的快速參考"
32
33 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:4
34 msgid ""
35 "This checklist summarizes the most commonly used/hard to remember parts of "
36 "the regexp engine available in most parts of calibre."
37 msgstr ""
38
39 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:10
40 msgid "Contents"
41 msgstr "目錄"
42
43 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:13
44 msgid "Character classes"
45 msgstr "字元類別"
46
47 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:15
48 msgid ""
49 "Character classes are useful to represent different groups of characters, "
50 "succinctly."
51 msgstr "字元類別可以簡潔地表示不同的字元組。"
52
53 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:18
54 msgid "Examples:"
55 msgstr "範例:"
56
57 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:21
58 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:52
59 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:241
60 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:271
61 msgid "**Representation**"
62 msgstr "**表示**"
63
64 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:21
65 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:52
66 msgid "**Class**"
67 msgstr "**類別**"
68
69 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:24
70 msgid "``[a-z]``"
71 msgstr "``[a-z]``"
72
73 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:24
74 msgid ""
75 "Lowercase letters. Does not include characters with accent mark and "
76 "ligatures"
77 msgstr "小寫字母。不包括帶重音符號和連字的字元"
78
79 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:27
80 msgid "``[a-z0-9]``"
81 msgstr "``[a-z0-9]``"
82
83 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:27
84 msgid "Lowercase letters from a to z or numbers from 0 to 9"
85 msgstr "a 到 z 的小寫字母或 0 到 9 的數字"
86
87 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:29
88 msgid "``[A-Za-z-]``"
89 msgstr "``[A-Za-z-]``"
90
91 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:29
92 msgid ""
93 "Uppercase or lowercase letters, or a dash. To include the dash in a class, "
94 "you must put it at the beginning or at the end so as not to confuse it with "
95 "the hyphen that specifies a range of characters"
96 msgstr "大寫或小寫字母或連接號。要將連接號包含在類別中,您必須將其放在開頭或結尾處,以免將其與指定一系列字元的連字號混淆"
97
98 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:33
99 msgid "``[^0-9]``"
100 msgstr "``[^0-9]``"
101
102 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:33
103 msgid ""
104 "Any character except a digit. The caret (^) placed at the beginning of the "
105 "class excludes the characters of the class (complemented class)"
106 msgstr "除数字之外的任意字符。放在字符集合开头的“^”符号表示取除指定字符之外的集合(补集)。"
107
108 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:36
109 msgid "``[[a-z]--[aeiouy]]``"
110 msgstr "``[[a-z]--[aeiouy]]``"
111
112 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:36
113 msgid ""
114 "The lowercase consonants. A class can be included in a class. The characters"
115 " ``--`` exclude what follows them"
116 msgstr "小写元音字母。字符集合可以包含另一个字符集合。``--`` 符号表示排除它之后的集合"
117
118 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:39
119 msgid "``[\\w--[\\d_]]``"
120 msgstr "``[\\w--[\\d_]]``"
121
122 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:39
123 msgid ""
124 "All letters (including foreign accented characters). Abbreviated classes can"
125 " be used inside a class"
126 msgstr "所有字母(包括带重音符号的外语字母)。字符集合中可以使用缩写集合"
127
128 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:44
129 msgid "Example::"
130 msgstr "例如::"
131
132 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:49
133 msgid "Shorthand character classes"
134 msgstr "缩写字符集合"
135
136 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:55
137 msgid "``\\d``"
138 msgstr ""
139
140 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:55
141 msgid "A digit (same as ``[0-9]``)"
142 msgstr "一个数字(同 ``[0-9]``)"
143
144 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:57
145 msgid "``\\D``"
146 msgstr "``\\D``"
147
148 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:57
149 msgid "Any non-numeric character (same as ``[^0-9]``)"
150 msgstr "非数字字符(同 ``[^0-9]``)"
151
152 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:59
153 msgid "``\\w``"
154 msgstr ""
155
156 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:59
157 msgid ""
158 "An alphanumeric character (``[a-zA-Z0-9]``) including characters with accent"
159 " mark and ligatures"
160 msgstr "一种字母数字字符(``[a-zA-Z0-9]```),包括带重音符号和连字的字符"
161
162 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:62
163 msgid "``\\W``"
164 msgstr "``\\W``"
165
166 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:62
167 msgid "Any “non-word” character"
168 msgstr "任何“非单词”字符"
169
170 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:64
171 msgid "``\\s``"
172 msgstr ""
173
174 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:64
175 msgid "Space, non-breaking space, tab, carriage return"
176 msgstr ""
177
178 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:66
179 msgid "``\\S``"
180 msgstr "``\\S``"
181
182 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:66
183 msgid "Any “non-whitespace” character"
184 msgstr "任何“非空白”字符"
185
186 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:68
187 msgid "``.``"
188 msgstr "``.``"
189
190 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:68
191 msgid ""
192 "Any character except newline. Use the “dot all” checkbox or the ``(?s)`` "
193 "regexp modifier to include the newline character."
194 msgstr ""
195
196 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:73
197 msgid "The quantifiers"
198 msgstr "量词"
199
200 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:76
201 msgid "**Quantifier**"
202 msgstr "**量词**"
203
204 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:76
205 msgid "**Number of occurrences of the expression preceding the quantifier**"
206 msgstr "**量词前表达式出现次数**"
207
208 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:79
209 msgid "``?``"
210 msgstr "``?``"
211
212 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:79
213 msgid "0 or 1 occurrence of the expression. Same as ``{0,1}``"
214 msgstr "表达式出现0或1次。与``{0,1}``相同"
215
216 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:81
217 msgid "``+``"
218 msgstr "``+``"
219
220 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:81
221 msgid "1 or more occurrences of the expression. Same as ``{1,}``"
222 msgstr "表达式出现1次或多次。与``{1,}``相同"
223
224 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:83
225 msgid "``*``"
226 msgstr "``*``"
227
228 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:83
229 msgid "0, 1 or more occurrences of the expression. Same as ``{0,}``"
230 msgstr "表达式出现0次、1次或更多次。与``{0,}``相同"
231
232 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:85
233 msgid "``{n}``"
234 msgstr "``{n}``"
235
236 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:85
237 msgid "Exactly n occurrences of the expression"
238 msgstr "该表达式恰好出现n次"
239
240 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:87
241 msgid "``{min,max}``"
242 msgstr "``{min,max}``"
243
244 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:87
245 msgid "Number of occurrences between the minimum and maximum values included"
246 msgstr "包含的最小值和最大值之间的出现次数"
247
248 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:89
249 msgid "``{min,}``"
250 msgstr "``{min,}``"
251
252 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:89
253 msgid "Number of occurrences between the minimum value included and infinity"
254 msgstr ""
255
256 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:91
257 msgid "``{,max}``"
258 msgstr "``{,max}``"
259
260 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:91
261 msgid "Number of occurrences between 0 and the maximum value included"
262 msgstr "介于0和包含的最大值之间的出现次数"
263
264 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:97
265 msgid "Greed"
266 msgstr ""
267
268 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:99
269 msgid ""
270 "By default, with quantifiers, the regular expression engine is greedy: it "
271 "extends the selection as much as possible. This often causes surprises, at "
272 "first. ``?`` follows a quantifier to make it lazy. Avoid putting two in the "
273 "same expression, the result can be unpredictable."
274 msgstr ""
275
276 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:104
277 msgid ""
278 "Beware of nesting quantifiers, for example, the pattern ``(a*)*``, as it "
279 "exponentially increases processing time."
280 msgstr ""
281
282 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:108
283 msgid "Alternation"
284 msgstr "交替"
285
286 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:110
287 msgid ""
288 "The ``|`` character in a regular expression is a logical ``OR``. It means "
289 "that either the preceding or the following expression can match."
290 msgstr ""
291
292 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:114
293 msgid "Exclusion"
294 msgstr "不包括在内"
295
296 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:116
297 msgid "Method 1"
298 msgstr "方法 1"
299
300 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:118
301 msgid "``pattern_to_exclude(*SKIP)(*FAIL)|pattern_to_select``"
302 msgstr ""
303
304 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:120
305 msgid "Example:"
306 msgstr "例如:"
307
308 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:122
309 msgid "``\"Blabla\"(*SKIP)(*FAIL)|Blabla``"
310 msgstr ""
311
312 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:124
313 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:132
314 msgid ""
315 "selects Blabla, in the strings Blabla or \"Blabla or Blabla\", but not in "
316 "\"Blabla\"."
317 msgstr ""
318
319 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:126
320 msgid "Method 2"
321 msgstr "方法 2"
322
323 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:128
324 msgid "``pattern_to_exclude\\K|(pattern_to_select)``"
325 msgstr ""
326
327 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:130
328 msgid "``\"Blabla\"\\K|(Blabla)``"
329 msgstr ""
330
331 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:135
332 msgid "Anchors"
333 msgstr "锚"
334
335 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:137
336 msgid ""
337 "An anchor is a way to match a logical location in a string, rather than a "
338 "character. The most useful anchors for text processing are:"
339 msgstr "锚点是匹配字符串中的逻辑位置而不是字符的一种方式。文本处理中最有用的锚点是:"
340
341 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:140
342 msgid "``\\b``"
343 msgstr "``\\b``"
344
345 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:141
346 msgid ""
347 "Designates a word boundary, i.e. a transition from space to non-space "
348 "character. For example, you can use ``\\bsurd`` to match ``the surd`` but "
349 "not ``absurd``."
350 msgstr ""
351
352 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:145
353 msgid "``^``"
354 msgstr "``^``"
355
356 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:146
357 msgid "Matches the start of a line (in multi-line mode, which is the default)"
358 msgstr "匹配行首(在多行模式下,这是默认设置)"
359
360 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:149
361 msgid "``$``"
362 msgstr "``$``"
363
364 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:150
365 msgid "Matches the end of a line (in multi-line mode, which is the default)"
366 msgstr "匹配行尾(在多行模式下,这是默认设置)"
367
368 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:152
369 msgid "``\\K``"
370 msgstr "``\\K``"
371
372 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:153
373 msgid ""
374 "Resets the start position of the selection to its position in the pattern. "
375 "Some regexp engines (but not calibre) do not allow lookbehind of variable "
376 "length, especially with quantifiers. When you can use ``\\K`` with these "
377 "engines, it also allows you to get rid of this limit by writing the "
378 "equivalent of a positive lookbehind of variable length."
379 msgstr ""
380
381 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:160
382 msgid "Groups"
383 msgstr ""
384
385 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:162
386 msgid "``(expression)``"
387 msgstr ""
388
389 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:163
390 msgid ""
391 "Capturing group, which stores the selection and can be recalled later in the"
392 " *search* or *replace* patterns with ``\\n``, where ``n`` is the sequence "
393 "number of the capturing group (starting at 1 in reading order)"
394 msgstr ""
395
396 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:167
397 msgid "``(?:expression)``"
398 msgstr ""
399
400 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:168
401 msgid "Group that does not capture the selection"
402 msgstr ""
403
404 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:170
405 msgid "``(?>expression)``"
406 msgstr ""
407
408 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:171
409 msgid ""
410 "Atomic Group: As soon as the expression is satisfied, the regexp engine "
411 "passes, and if the rest of the pattern fails, it will not backtrack to try "
412 "other combinations with the expression. Atomic groups do not capture."
413 msgstr ""
414
415 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:176
416 msgid "``(?|expression)``"
417 msgstr ""
418
419 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:177
420 msgid ""
421 "Branch reset group: the branches of the alternations included in the "
422 "expression share the same group numbers"
423 msgstr ""
424
425 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:180
426 msgid "``(?<name>expression)``"
427 msgstr ""
428
429 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:181
430 msgid ""
431 "Group named “name”. The selection can be recalled later in the *search* "
432 "pattern by ``(?P=name)`` and in the *replace* by ``\\g<name>``. Two "
433 "different groups can use the same name."
434 msgstr ""
435
436 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:187
437 msgid "Lookarounds"
438 msgstr ""
439
440 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:190
441 msgid "**Lookaround**"
442 msgstr ""
443
444 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:190
445 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:241
446 msgid "**Meaning**"
447 msgstr ""
448
449 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:193
450 msgid "``?=``"
451 msgstr "``?=``"
452
453 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:193
454 msgid "Positive lookahead (to be placed after the selection)"
455 msgstr "正向前视(放置在选定内容之后)"
456
457 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:196
458 msgid "``?!``"
459 msgstr "``?!``"
460
461 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:196
462 msgid "Negative lookahead (to be placed after the selection)"
463 msgstr "反向前视(放在选择之后)"
464
465 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:199
466 msgid "``?<=``"
467 msgstr "``?<=``"
468
469 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:199
470 msgid "Positive lookbehind (to be placed before the selection)"
471 msgstr "正向后视(放在所选内容之前)"
472
473 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:202
474 msgid "``?<!``"
475 msgstr "``?<!``"
476
477 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:202
478 msgid "Negative lookbehind (to be placed before the selection)"
479 msgstr "反向后视(放在选定内容之前)"
480
481 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:206
482 msgid ""
483 "Lookaheads and lookbehinds do not consume characters, they are zero length "
484 "and do not capture. They are atomic groups: as soon as the assertion is "
485 "satisfied, the regexp engine passes, and if the rest of the pattern fails, "
486 "it will not backtrack inside the lookaround to try other combinations."
487 msgstr ""
488
489 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:211
490 msgid ""
491 "When looking for multiple matches in a string, at the starting position of "
492 "each match attempt, a lookbehind can inspect the characters before the "
493 "current position. Therefore, on the string 123, the pattern ``(?<=\\d)\\d`` "
494 "(a digit preceded by a digit) should, in theory, select 2 and 3. On the "
495 "other hand, ``\\d\\K\\d`` can only select 2, because the starting position "
496 "after the first selection is immediately before 3, and there are not enough "
497 "digits for a second match. Similarly, ``\\d(\\d)`` only captures 2. In "
498 "calibre's regexp engine practice, the positive lookbehind behaves in the "
499 "same way, and selects only 2, contrary to theory."
500 msgstr ""
501
502 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:221
503 msgid ""
504 "Groups can be placed inside lookarounds, but capture is rarely useful. "
505 "Nevertheless, if it is useful, it will be necessary to be very careful in "
506 "the use of a quantifier in a lookbehind: the greed associated with the "
507 "absence of backtracking can give a surprising capture. For this reason, use "
508 "``\\K`` rather than a positive lookbehind when you have a quantifier (or "
509 "worse, several) in a capturing group of the positive lookbehind."
510 msgstr ""
511
512 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:228
513 msgid "Example of negative lookahead:"
514 msgstr ""
515
516 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:230
517 msgid "``(?![^<>{}]*[>}])``"
518 msgstr "``(?![^<>{}]*[>}])``"
519
520 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:232
521 msgid ""
522 "Placed at the end of the pattern prevents selecting within a tag or a style "
523 "embedded in the file."
524 msgstr ""
525
526 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:234
527 msgid ""
528 "Whenever possible, it is always better to \"anchor\" the lookarounds, to "
529 "reduce the number of steps necessary to obtain the result."
530 msgstr ""
531
532 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:238
533 msgid "Recursion"
534 msgstr ""
535
536 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:244
537 msgid "``(?R)``"
538 msgstr "``(?R)``"
539
540 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:244
541 msgid "Recursion of the entire pattern"
542 msgstr "递归匹配整个模式"
543
544 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:247
545 msgid "``(?1)``"
546 msgstr "``(?1)``"
547
548 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:247
549 msgid ""
550 "Recursion of the only pattern of the numbered capturing group, here group 1"
551 msgstr ""
552
553 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:251
554 msgid ""
555 "Recursion is calling oneself. This is useful for balanced queries, such as "
556 "quoted strings, which can contain embedded quoted strings. Thus, if during "
557 "the processing of a string between double quotation marks, we encounter the "
558 "beginning of a new string between double quotation marks, well we know how "
559 "to do, and we call ourselves. Then we have a pattern like::"
560 msgstr ""
561
562 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:259
563 msgid ""
564 "To select a string between double quotation marks without stopping on an "
565 "embedded string::"
566 msgstr ""
567
568 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:263
569 msgid ""
570 "This template can also be used to modify pairs of tags that can be embedded,"
571 " such as ``<div>`` tags."
572 msgstr ""
573
574 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:268
575 msgid "Special characters"
576 msgstr "特殊字符"
577
578 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:271
579 msgid "**Character**"
580 msgstr "**字符**"
581
582 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:274
583 msgid "``\\t``"
584 msgstr "``\\t``"
585
586 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:274
587 msgid "tabulation"
588 msgstr ""
589
590 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:277
591 msgid "``\\n``"
592 msgstr "``\\n``"
593
594 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:277
595 msgid "line break"
596 msgstr "换行符"
597
598 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:280
599 msgid "``\\x20``"
600 msgstr "``\\x20``"
601
602 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:280
603 msgid "(breakable) space"
604 msgstr "(可间断的)空格"
605
606 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:283
607 msgid "``\\xa0``"
608 msgstr "``\\xa0``"
609
610 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:283
611 msgid "no-break space"
612 msgstr "不间断空格"
613
614 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:288
615 msgid "Meta-characters"
616 msgstr "元字符"
617
618 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:290
619 msgid ""
620 "Meta-characters are those that have a special meaning for the regexp engine."
621 " Of these, twelve must be preceded by an escape character, the backslash "
622 "(``\\``), to lose their special meaning and become a regular character "
623 "again::"
624 msgstr ""
625
626 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:296
627 msgid ""
628 "Seven other meta-characters do not need to be preceded by a backslash (but "
629 "can be without any other consequence)::"
630 msgstr "其他七个元字符不需要以反斜杠开头(但可以没有任何其他后果):"
631
632 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:302
633 msgid ""
634 "Special characters lose their status if they are used inside a class "
635 "(between brackets ``[]``). The closing bracket and the dash have a special "
636 "status in a class. Outside the class, the dash is a simple literal, the "
637 "closing bracket remains a meta-character."
638 msgstr ""
639
640 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:307
641 msgid ""
642 "The slash (/) and the number sign (or hash character) (#) are not meta-"
643 "characters, they don’t need to be escaped."
644 msgstr ""
645
646 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:310
647 msgid ""
648 "In some tools, like regex101.com with the Python engine, double quotes have "
649 "the special status of separator, and must be escaped, or the options "
650 "changed. This is not the case in the editor of calibre."
651 msgstr ""
652
653 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:315
654 msgid "Modes"
655 msgstr ""
656
657 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:317
658 msgid "``(?s)``"
659 msgstr "``(?s)``"
660
661 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:318
662 msgid "Causes the dot (``.``) to match newline characters as well"
663 msgstr "使句点(``.``)也能匹配换行符"
664
665 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:320
666 msgid "``(?m)``"
667 msgstr "``(?m)``"
668
669 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:321
670 msgid ""
671 "Makes the ``^`` and ``$`` anchors match the start and end of lines instead "
672 "of the start and end of the entire string."
673 msgstr ""