Debian Codegraph @

translations/manual/fr_CA/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 # Ptit Prince <[email protected]>, 2026
8 #
9 #, fuzzy
10 msgid ""
11 msgstr ""
12 "Project-Id-Version: calibre 9.3.0\n"
13 "Report-Msgid-Bugs-To: \n"
14 "POT-Creation-Date: 2026-02-21 03:43+0000\n"
15 "PO-Revision-Date: 2017-12-15 03:02+0000\n"
16 "Last-Translator: Ptit Prince <[email protected]>, 2026\n"
17 "Language-Team: French (Canada) (https://app.transifex.com/calibre/teams/19337/fr_CA/)\n"
18 "MIME-Version: 1.0\n"
19 "Content-Type: text/plain; charset=UTF-8\n"
20 "Content-Transfer-Encoding: 8bit\n"
21 "Language: fr_CA\n"
22 "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
23
24 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:2
25 msgid "Quick reference for regexp syntax"
26 msgstr "Mémento pour la syntaxe regexp"
27
28 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:4
29 msgid ""
30 "This checklist summarizes the most commonly used/hard to remember parts of "
31 "the regexp engine available in most parts of calibre."
32 msgstr ""
33 "Cet aide-mémoire résume les parties du moteur regexp les plus couramment "
34 "utilisées/difficilement mémorisables disponibles dans la plupart des parties"
35 " de calibre."
36
37 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:10
38 msgid "Contents"
39 msgstr "Contenu"
40
41 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:13
42 msgid "Character classes"
43 msgstr "Les classes de caractères"
44
45 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:15
46 msgid ""
47 "Character classes are useful to represent different groups of characters, "
48 "succinctly."
49 msgstr ""
50 "Les classes de caractères sont utiles pour représenter différents groupes de"
51 " caractères, succinctement."
52
53 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:18
54 msgid "Examples:"
55 msgstr "Exemples : "
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 "**Représentation**"
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 "**Classe**"
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 "Lettres minuscules. Ne comprend pas les caractères accentués et les "
79 "ligatures"
80
81 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:27
82 msgid "``[a-z0-9]``"
83 msgstr "``[a-z0-9]``"
84
85 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:27
86 msgid "Lowercase letters from a to z or numbers from 0 to 9"
87 msgstr "Lettres minuscules de a à z ou chiffres de 0 à 9"
88
89 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:29
90 msgid "``[A-Za-z-]``"
91 msgstr "``[A-Za-z-]``"
92
93 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:29
94 msgid ""
95 "Uppercase or lowercase letters, or a dash. To include the dash in a class, "
96 "you must put it at the beginning or at the end so as not to confuse it with "
97 "the hyphen that specifies a range of characters"
98 msgstr ""
99 "Lettre majuscule ou minuscule, ou un tiret. Pour inclure le tiret dans une "
100 "classe, il faut le mettre au début ou à la fin pour ne pas le confondre avec"
101 " le tiret qui spécifie une plage de caractères"
102
103 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:33
104 msgid "``[^0-9]``"
105 msgstr "``[^0-9]``"
106
107 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:33
108 msgid ""
109 "Any character except a digit. The caret (^) placed at the beginning of the "
110 "class excludes the characters of the class (complemented class)"
111 msgstr ""
112 "Tout caractère sauf un chiffre. Le circonflexe (^) placé en début de classe "
113 "exclut les caractères de la classe (classe complémentée)"
114
115 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:36
116 msgid "``[[a-z]--[aeiouy]]``"
117 msgstr "``[[a-z]--[aeiouy]]``"
118
119 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:36
120 msgid ""
121 "The lowercase consonants. A class can be included in a class. The characters"
122 " ``--`` exclude what follows them"
123 msgstr ""
124 "Les consonnes minuscules. Une classe peut être incluse dans une classe. Les "
125 "caractères ``--`` excluent ce qui les suit"
126
127 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:39
128 msgid "``[\\w--[\\d_]]``"
129 msgstr "``[\\w--[\\d_]]``"
130
131 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:39
132 msgid ""
133 "All letters (including foreign accented characters). Abbreviated classes can"
134 " be used inside a class"
135 msgstr ""
136 "Toutes les lettres (y compris les caractères accentués étrangers). Les "
137 "classes abrégées peuvent être utilisées à l’intérieur d’une classe"
138
139 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:44
140 msgid "Example::"
141 msgstr "Exemple::"
142
143 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:49
144 msgid "Shorthand character classes"
145 msgstr "Les classes de caractères abrégées"
146
147 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:55
148 msgid "``\\d``"
149 msgstr ""
150
151 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:55
152 msgid "A digit (same as ``[0-9]``)"
153 msgstr "Un chiffre (identique à [0-9])"
154
155 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:57
156 msgid "``\\D``"
157 msgstr "``\\D``"
158
159 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:57
160 msgid "Any non-numeric character (same as ``[^0-9]``)"
161 msgstr "Tout caractère non numérique (identique à [^0-9])"
162
163 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:59
164 msgid "``\\w``"
165 msgstr ""
166
167 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:59
168 msgid ""
169 "An alphanumeric character (``[a-zA-Z0-9]``) including characters with accent"
170 " mark and ligatures"
171 msgstr ""
172 "Un caractère alphanumérique plus le souligné (``[a-zA-Z0-9_]``) y compris "
173 "les caractères accentués et les ligatures"
174
175 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:62
176 msgid "``\\W``"
177 msgstr "``\\W``"
178
179 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:62
180 msgid "Any “non-word” character"
181 msgstr "Tout caractère « non-word »"
182
183 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:64
184 msgid "``\\s``"
185 msgstr ""
186
187 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:64
188 msgid "Space, non-breaking space, tab, carriage return"
189 msgstr ""
190
191 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:66
192 msgid "``\\S``"
193 msgstr "``\\S``"
194
195 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:66
196 msgid "Any “non-whitespace” character"
197 msgstr "Tout caractère « non-whitespace »"
198
199 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:68
200 msgid "``.``"
201 msgstr "``.``"
202
203 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:68
204 msgid ""
205 "Any character except newline. Use the “dot all” checkbox or the ``(?s)`` "
206 "regexp modifier to include the newline character."
207 msgstr ""
208 "N’importe quel caractère sauf le retour ligne. Il faut cocher la case \"dot "
209 "all\" ou utiliser la regexp ``(?s)`` pour inclure le caractère de retour de "
210 "ligne"
211
212 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:73
213 msgid "The quantifiers"
214 msgstr "Les quantificateurs"
215
216 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:76
217 msgid "**Quantifier**"
218 msgstr "**Quantificateur**"
219
220 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:76
221 msgid "**Number of occurrences of the expression preceding the quantifier**"
222 msgstr "**Nombre occurrences de l'expression précédant le quantificateur**"
223
224 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:79
225 msgid "``?``"
226 msgstr "``?``"
227
228 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:79
229 msgid "0 or 1 occurrence of the expression. Same as ``{0,1}``"
230 msgstr "0 ou 1 occurrence de l'expression. Identique à ``{0,1}``"
231
232 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:81
233 msgid "``+``"
234 msgstr "``+``"
235
236 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:81
237 msgid "1 or more occurrences of the expression. Same as ``{1,}``"
238 msgstr "1 ou plusieurs occurrences de l'expression. Identique à ``{1,}``"
239
240 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:83
241 msgid "``*``"
242 msgstr "``*``"
243
244 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:83
245 msgid "0, 1 or more occurrences of the expression. Same as ``{0,}``"
246 msgstr "0, 1 ou plusieurs occurrences de l'expression. Identique à ``{0,}``"
247
248 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:85
249 msgid "``{n}``"
250 msgstr "``{n}``"
251
252 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:85
253 msgid "Exactly n occurrences of the expression"
254 msgstr "Exactement n occurrences de l'expression"
255
256 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:87
257 msgid "``{min,max}``"
258 msgstr "``{min,max}``"
259
260 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:87
261 msgid "Number of occurrences between the minimum and maximum values included"
262 msgstr ""
263 "Nombre d’occurrences compris entre les valeurs minimales et maximales "
264 "incluses"
265
266 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:89
267 msgid "``{min,}``"
268 msgstr "``{min,}``"
269
270 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:89
271 msgid "Number of occurrences between the minimum value included and infinity"
272 msgstr ""
273
274 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:91
275 msgid "``{,max}``"
276 msgstr "``{,max}``"
277
278 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:91
279 msgid "Number of occurrences between 0 and the maximum value included"
280 msgstr "Nombre d’occurrences compris entre 0 et la valeur maximale incluse"
281
282 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:97
283 msgid "Greed"
284 msgstr "La gourmandise"
285
286 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:99
287 msgid ""
288 "By default, with quantifiers, the regular expression engine is greedy: it "
289 "extends the selection as much as possible. This often causes surprises, at "
290 "first. ``?`` follows a quantifier to make it lazy. Avoid putting two in the "
291 "same expression, the result can be unpredictable."
292 msgstr ""
293 "Par défaut, avec les quantificateurs, le moteur d’expressions rationnelles "
294 "est gourmand (greedy) : il étend la sélection autant que possible. Cela "
295 "réserve des surprises, au début. ``?`` suit un quantificateur pour le rendre"
296 " non gourmand (lazy). Éviter d’en mettre deux dans la même expression, le "
297 "résultat peut être imprévisible."
298
299 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:104
300 msgid ""
301 "Beware of nesting quantifiers, for example, the pattern ``(a*)*``, as it "
302 "exponentially increases processing time."
303 msgstr ""
304 "Attention à l’imbrication des quantificateurs, comme, par exemple, le motif "
305 "``(a*)*`` : il augmente de façon exponentielle les traitements."
306
307 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:108
308 msgid "Alternation"
309 msgstr "L’alternative"
310
311 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:110
312 msgid ""
313 "The ``|`` character in a regular expression is a logical ``OR``. It means "
314 "that either the preceding or the following expression can match."
315 msgstr ""
316 "Le caractère ``|`` dans une expression régulière est un ``OR`` logique. Cela"
317 " signifie que soit l'expression précédente soit l'expression suivante peut "
318 "correspondre."
319
320 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:114
321 msgid "Exclusion"
322 msgstr "L'exclusion"
323
324 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:116
325 msgid "Method 1"
326 msgstr "Méthode 1"
327
328 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:118
329 msgid "``pattern_to_exclude(*SKIP)(*FAIL)|pattern_to_select``"
330 msgstr "``motif_à_exclure(*SKIP)(*FAIL)|motif_à_sélectionner``"
331
332 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:120
333 msgid "Example:"
334 msgstr "Exemple : "
335
336 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:122
337 msgid "``\"Blabla\"(*SKIP)(*FAIL)|Blabla``"
338 msgstr "``\"Blabla\"(*SKIP)(*FAIL)|Blabla``"
339
340 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:124
341 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:132
342 msgid ""
343 "selects Blabla, in the strings Blabla or \"Blabla or Blabla\", but not in "
344 "\"Blabla\"."
345 msgstr ""
346 "sélectionne Blabla, dans les chaînes Blabla ou \"Blabla ou Blabla\", mais "
347 "pas dans \"Blabla\"."
348
349 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:126
350 msgid "Method 2"
351 msgstr "Méthode 2"
352
353 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:128
354 msgid "``pattern_to_exclude\\K|(pattern_to_select)``"
355 msgstr "``motif_à_exclure\\K|(motif_à_sélectionner)``"
356
357 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:130
358 msgid "``\"Blabla\"\\K|(Blabla)``"
359 msgstr "``\"Blabla\"\\K|(Blabla)``"
360
361 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:135
362 msgid "Anchors"
363 msgstr "Les ancres"
364
365 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:137
366 msgid ""
367 "An anchor is a way to match a logical location in a string, rather than a "
368 "character. The most useful anchors for text processing are:"
369 msgstr ""
370 "Une ancre est un moyen de faire correspondre une position logique dans une "
371 "chaîne, plutôt qu'un caractère. Les ancres les plus utiles pour le "
372 "traitement de texte sont : "
373
374 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:140
375 msgid "``\\b``"
376 msgstr "``\\b``"
377
378 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:141
379 msgid ""
380 "Designates a word boundary, i.e. a transition from space to non-space "
381 "character. For example, you can use ``\\bsurd`` to match ``the surd`` but "
382 "not ``absurd``."
383 msgstr ""
384 "Désigne une limite de mot, càd une transition depuis un espace à caractère "
385 "non-espace. Par exemple, vous pouvez utiliser ``\\bsurd`` pour correspondre "
386 "à ``the surd`` mais pas ``absurd``."
387
388 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:145
389 msgid "``^``"
390 msgstr "``^``"
391
392 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:146
393 msgid "Matches the start of a line (in multi-line mode, which is the default)"
394 msgstr ""
395 "Correspond au début d'une ligne (en mode multi lignes, qui est le mode par "
396 "défaut)"
397
398 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:149
399 msgid "``$``"
400 msgstr "``$``"
401
402 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:150
403 msgid "Matches the end of a line (in multi-line mode, which is the default)"
404 msgstr ""
405 "Correspond à la fin d'une ligne (en mode multi lignes, qui est le mode par "
406 "défaut)"
407
408 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:152
409 msgid "``\\K``"
410 msgstr "``\\K``"
411
412 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:153
413 msgid ""
414 "Resets the start position of the selection to its position in the pattern. "
415 "Some regexp engines (but not calibre) do not allow lookbehind of variable "
416 "length, especially with quantifiers. When you can use ``\\K`` with these "
417 "engines, it also allows you to get rid of this limit by writing the "
418 "equivalent of a positive lookbehind of variable length."
419 msgstr ""
420 "Réinitialise l’endroit de début de la sélection à sa position dans le motif."
421 " Certains moteurs de regexp (mais pas celui de calibre) n'autorisent pas les"
422 " assertions arrière de longueur variable, et notamment avec des "
423 "quantificateurs. Lorsque l'on peut utiliser \\K avec ces moteurs-là, il "
424 "permet aussi de s’affranchir de cette limite en écrivant l'équivalent d'une "
425 "assertions arrière positive de longueur variable."
426
427 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:160
428 msgid "Groups"
429 msgstr "Groupes"
430
431 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:162
432 msgid "``(expression)``"
433 msgstr "``(expression)``"
434
435 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:163
436 msgid ""
437 "Capturing group, which stores the selection and can be recalled later in the"
438 " *search* or *replace* patterns with ``\\n``, where ``n`` is the sequence "
439 "number of the capturing group (starting at 1 in reading order)"
440 msgstr ""
441 "Groupe de capture, qui mémorise la sélection et qui peut être rappelée par "
442 "la suite dans les motifs \"rechercher\" ou \"remplacer\" par \\n, où ``n`` "
443 "est le numéro d’ordre du groupe de capture (en commençant à 1 dans l'ordre "
444 "de lecture)"
445
446 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:167
447 msgid "``(?:expression)``"
448 msgstr "``(?:expression)``"
449
450 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:168
451 msgid "Group that does not capture the selection"
452 msgstr "Groupe qui ne mémorise pas la sélection"
453
454 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:170
455 msgid "``(?>expression)``"
456 msgstr "``(?>expression)``"
457
458 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:171
459 msgid ""
460 "Atomic Group: As soon as the expression is satisfied, the regexp engine "
461 "passes, and if the rest of the pattern fails, it will not backtrack to try "
462 "other combinations with the expression. Atomic groups do not capture."
463 msgstr ""
464 "Groupe atomique : dès que l’expression est satisfaite, le moteur de regexp "
465 "passe à la suite, et si le reste du motif échoue, il ne fera pas marche "
466 "arrière pour essayer d’autres combinaisons avec l’expression. Les groupes "
467 "atomiques ne capturent pas."
468
469 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:176
470 msgid "``(?|expression)``"
471 msgstr "``(?|expression)``"
472
473 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:177
474 msgid ""
475 "Branch reset group: the branches of the alternations included in the "
476 "expression share the same group numbers"
477 msgstr ""
478 "Groupe de réinitialisation de branche : les branches des alternatives "
479 "inclues dans l’expression partagent les mêmes numéros de groupe"
480
481 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:180
482 msgid "``(?<name>expression)``"
483 msgstr "``(?<name>expression)``"
484
485 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:181
486 msgid ""
487 "Group named “name”. The selection can be recalled later in the *search* "
488 "pattern by ``(?P=name)`` and in the *replace* by ``\\g<name>``. Two "
489 "different groups can use the same name."
490 msgstr ""
491 "Groupe nommé \"name\". La sélection peut être rappelée par la suite dans le "
492 "motif *rechercher* par ``(?P=name)`` et dans le *remplacer* par "
493 "``\\g<name>``. Deux groupes différents peuvent utiliser le même nom."
494
495 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:187
496 msgid "Lookarounds"
497 msgstr "Les assertiions"
498
499 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:190
500 msgid "**Lookaround**"
501 msgstr "**Assertion**"
502
503 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:190
504 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:241
505 msgid "**Meaning**"
506 msgstr "**Signification**"
507
508 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:193
509 msgid "``?=``"
510 msgstr "``?=``"
511
512 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:193
513 msgid "Positive lookahead (to be placed after the selection)"
514 msgstr "Assertion avant positive (à placer après la sélection)"
515
516 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:196
517 msgid "``?!``"
518 msgstr "``?!``"
519
520 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:196
521 msgid "Negative lookahead (to be placed after the selection)"
522 msgstr "Assertion avant négative (à placer après la sélection)"
523
524 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:199
525 msgid "``?<=``"
526 msgstr "``?<=``"
527
528 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:199
529 msgid "Positive lookbehind (to be placed before the selection)"
530 msgstr "Assertion arrière positive (à placer avant la sélection)"
531
532 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:202
533 msgid "``?<!``"
534 msgstr "``?<!``"
535
536 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:202
537 msgid "Negative lookbehind (to be placed before the selection)"
538 msgstr "Assertion arrière négative (à placer avant la sélection)"
539
540 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:206
541 msgid ""
542 "Lookaheads and lookbehinds do not consume characters, they are zero length "
543 "and do not capture. They are atomic groups: as soon as the assertion is "
544 "satisfied, the regexp engine passes, and if the rest of the pattern fails, "
545 "it will not backtrack inside the lookaround to try other combinations."
546 msgstr ""
547 "Les assertions avant et arrière ne consomment pas de caractère, elles sont "
548 "de longueur nulle et ne capturent pas. Ce sont des groupes atomiques : dès "
549 "que l’assertion est satisfaite, le moteur de regexp passe à la suite, et si "
550 "le reste du motif échoue, il ne fera pas marche arrière à l'intérieur de "
551 "l’assertion pour essayer d’autres combinaisons."
552
553 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:211
554 msgid ""
555 "When looking for multiple matches in a string, at the starting position of "
556 "each match attempt, a lookbehind can inspect the characters before the "
557 "current position. Therefore, on the string 123, the pattern ``(?<=\\d)\\d`` "
558 "(a digit preceded by a digit) should, in theory, select 2 and 3. On the "
559 "other hand, ``\\d\\K\\d`` can only select 2, because the starting position "
560 "after the first selection is immediately before 3, and there are not enough "
561 "digits for a second match. Similarly, ``\\d(\\d)`` only captures 2. In "
562 "calibre's regexp engine practice, the positive lookbehind behaves in the "
563 "same way, and selects only 2, contrary to theory."
564 msgstr ""
565 "Lorsque l’on cherche plusieurs correspondances dans une chaîne, à la "
566 "position de départ de chaque tentative de correspondance, une assertion "
567 "arrière peut inspecter les caractères situés avant la position actuelle. Par"
568 " conséquent, sur la chaîne 123, le motif ``(?<=\\d)\\d`` (un chiffre précédé"
569 " d'un chiffre) devrait, en théorie, sélectionner 2 et 3. En revanche, "
570 "``\\d\\K\\d`` ne peut sélectionner que 2, car la position de départ après la"
571 " première sélection est immédiatement avant 3, et il n'y a plus assez de "
572 "chiffres pour une seconde correspondance. De même, ``\\d(\\d)`` ne capture "
573 "que 2. Dans la pratique du moteur de regexp de calibre, l’assertion arrière "
574 "positive se comporte de la même façon, et ne sélectionne que 2, "
575 "contrairement à ce que prévoit la théorie."
576
577 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:221
578 msgid ""
579 "Groups can be placed inside lookarounds, but capture is rarely useful. "
580 "Nevertheless, if it is useful, it will be necessary to be very careful in "
581 "the use of a quantifier in a lookbehind: the greed associated with the "
582 "absence of backtracking can give a surprising capture. For this reason, use "
583 "``\\K`` rather than a positive lookbehind when you have a quantifier (or "
584 "worse, several) in a capturing group of the positive lookbehind."
585 msgstr ""
586 "On peut placer des groupes à l’intérieur des assertions, mais la capture est"
587 " rarement utile. Néanmoins, si elle est utile, il faudra être très prudent "
588 "dans l’utilisation d’un quantificateur dans une assertion arrière : la "
589 "gourmandise associée à l’absence de marche arrière peut donner une capture "
590 "surprenante. Pour cette raison, utilisez ``\\K`` plutôt qu’une assertion "
591 "arrière positive quand vous avez un quantificateur (ou pire, plusieurs) dans"
592 " un groupe capturant de l’assertion arrière positive."
593
594 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:228
595 msgid "Example of negative lookahead:"
596 msgstr "Exemple d’assertion avant négative :"
597
598 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:230
599 msgid "``(?![^<>{}]*[>}])``"
600 msgstr "``(?![^<>{}]*[>}])``"
601
602 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:232
603 msgid ""
604 "Placed at the end of the pattern prevents selecting within a tag or a style "
605 "embedded in the file."
606 msgstr ""
607
608 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:234
609 msgid ""
610 "Whenever possible, it is always better to \"anchor\" the lookarounds, to "
611 "reduce the number of steps necessary to obtain the result."
612 msgstr ""
613 "Lorsque c’est possible, il est toujours préférable d’\"ancrer\" les "
614 "assertions, pour diminuer le nombre d’étapes nécessaires à l’obtention du "
615 "résultat."
616
617 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:238
618 msgid "Recursion"
619 msgstr "La récursion"
620
621 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:244
622 msgid "``(?R)``"
623 msgstr "``(?R)``"
624
625 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:244
626 msgid "Recursion of the entire pattern"
627 msgstr "Récursion du motif entier"
628
629 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:247
630 msgid "``(?1)``"
631 msgstr "``(?1)``"
632
633 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:247
634 msgid ""
635 "Recursion of the only pattern of the numbered capturing group, here group 1"
636 msgstr ""
637 "Récursion du seul motif du groupe de capture numéroté, ici le groupe 1"
638
639 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:251
640 msgid ""
641 "Recursion is calling oneself. This is useful for balanced queries, such as "
642 "quoted strings, which can contain embedded quoted strings. Thus, if during "
643 "the processing of a string between double quotation marks, we encounter the "
644 "beginning of a new string between double quotation marks, well we know how "
645 "to do, and we call ourselves. Then we have a pattern like::"
646 msgstr ""
647 "La récursion consiste à s’appeler soi-même. C’est utile pour des recherches "
648 "balancées, par exemple des chaînes entre apostrophes, qui peuvent contenir "
649 "des chaînes entre apostrophes enchâssées. Ainsi, si au cours du traitement "
650 "d’une chaîne entre apostrophes, on rencontre le début d’une nouvelle chaîne "
651 "entre apostrophes, et bien on sait faire, et on s’appelle soi-même. On a "
652 "alors un motif comme :"
653
654 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:259
655 msgid ""
656 "To select a string between double quotation marks without stopping on an "
657 "embedded string::"
658 msgstr ""
659 "Pour sélectionner une chaîne entre apostrophes sans s’arrêter aux chaînes "
660 "enchâssées::"
661
662 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:263
663 msgid ""
664 "This template can also be used to modify pairs of tags that can be embedded,"
665 " such as ``<div>`` tags."
666 msgstr ""
667 "C’est également ce modèle qu’il faut suivre pour modifier les paires de "
668 "balises qui peuvent s’enchâsser, telles que les balises ``<div>``."
669
670 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:268
671 msgid "Special characters"
672 msgstr "Les caractères spéciaux"
673
674 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:271
675 msgid "**Character**"
676 msgstr "**Caractère**"
677
678 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:274
679 msgid "``\\t``"
680 msgstr "``\\t``"
681
682 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:274
683 msgid "tabulation"
684 msgstr "tabulation"
685
686 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:277
687 msgid "``\\n``"
688 msgstr "``\\n``"
689
690 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:277
691 msgid "line break"
692 msgstr "saut de ligne"
693
694 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:280
695 msgid "``\\x20``"
696 msgstr "``\\x20``"
697
698 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:280
699 msgid "(breakable) space"
700 msgstr "espace (sécable)"
701
702 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:283
703 msgid "``\\xa0``"
704 msgstr "``\\xa0``"
705
706 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:283
707 msgid "no-break space"
708 msgstr "espace insécable"
709
710 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:288
711 msgid "Meta-characters"
712 msgstr "Les métacaractères"
713
714 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:290
715 msgid ""
716 "Meta-characters are those that have a special meaning for the regexp engine."
717 " Of these, twelve must be preceded by an escape character, the backslash "
718 "(``\\``), to lose their special meaning and become a regular character "
719 "again::"
720 msgstr ""
721 "Les métacaractères sont ceux qui ont une signification spéciale pour le "
722 "moteur regexp. Parmi ceux-ci, douze doivent être précédés d’un caractère "
723 "d’échappement, l’antislash (``\\``), pour perdre leur signification spéciale"
724 " et redevenir un simple caractère::"
725
726 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:296
727 msgid ""
728 "Seven other meta-characters do not need to be preceded by a backslash (but "
729 "can be without any other consequence)::"
730 msgstr ""
731 "Sept autres métacaractères n’ont pas besoin d’être précédés de l’antislash "
732 "(mais peuvent l’être sans autre conséquence)::"
733
734 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:302
735 msgid ""
736 "Special characters lose their status if they are used inside a class "
737 "(between brackets ``[]``). The closing bracket and the dash have a special "
738 "status in a class. Outside the class, the dash is a simple literal, the "
739 "closing bracket remains a meta-character."
740 msgstr ""
741 "Les caractères spéciaux perdent leur statut s'ils sont utilisés à "
742 "l'intérieur d'une classe (entre les crochets ``[]``). Le crochet fermant et "
743 "le tiret ont un statut spécial dans une classe. En dehors de la classe, le "
744 "tiret est un simple littéral, le crochet reste un métacaractère."
745
746 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:307
747 msgid ""
748 "The slash (/) and the number sign (or hash character) (#) are not meta-"
749 "characters, they don’t need to be escaped."
750 msgstr ""
751 "Le slash (/) et le croisillon (#) [carré au Québec] ne sont pas des "
752 "métacaractères, a fortiori ils n’ont pas besoin d’être échappés."
753
754 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:310
755 msgid ""
756 "In some tools, like regex101.com with the Python engine, double quotes have "
757 "the special status of separator, and must be escaped, or the options "
758 "changed. This is not the case in the editor of calibre."
759 msgstr ""
760 "Dans certains outils, comme regex101.com, avec le moteur Python, les doubles"
761 " quotes ont le statut spécial de séparateur, et doivent être échappés. Ce "
762 "n’est pas le cas dans l’éditeur de calibre."
763
764 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:315
765 msgid "Modes"
766 msgstr "Modes"
767
768 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:317
769 msgid "``(?s)``"
770 msgstr "``(?s)``"
771
772 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:318
773 msgid "Causes the dot (``.``) to match newline characters as well"
774 msgstr ""
775 "Amène le point (``.``) à correspondre également à des caractères de nouvelle"
776 " ligne"
777
778 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:320
779 msgid "``(?m)``"
780 msgstr "``(?m)``"
781
782 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:321
783 msgid ""
784 "Makes the ``^`` and ``$`` anchors match the start and end of lines instead "
785 "of the start and end of the entire string."
786 msgstr ""
787 "Rend les ancres ``^`` et ``$`` à correspondre au début et à la fin de la "
788 "ligne plutôt que le début et la fin de la chaîne entière."