Debian Codegraph @

translations/manual/it/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 # Maurizio Malagoli <[email protected]>, 2017
8 # Volo Libero <[email protected]>, 2017
9 # Vincenzo Reale <[email protected]>, 2022
10 # Francesco G., 2026
11 # Michele Galimberti <[email protected]>, 2026
12 #
13 #, fuzzy
14 msgid ""
15 msgstr ""
16 "Project-Id-Version: calibre 9.3.0\n"
17 "Report-Msgid-Bugs-To: \n"
18 "POT-Creation-Date: 2026-02-21 03:43+0000\n"
19 "PO-Revision-Date: 2017-12-15 03:02+0000\n"
20 "Last-Translator: Michele Galimberti <[email protected]>, 2026\n"
21 "Language-Team: Italian (https://app.transifex.com/calibre/teams/19337/it/)\n"
22 "MIME-Version: 1.0\n"
23 "Content-Type: text/plain; charset=UTF-8\n"
24 "Content-Transfer-Encoding: 8bit\n"
25 "Language: it\n"
26 "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
27
28 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:2
29 msgid "Quick reference for regexp syntax"
30 msgstr "Riferimenti rapidi sulla sintassi regex"
31
32 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:4
33 msgid ""
34 "This checklist summarizes the most commonly used/hard to remember parts of "
35 "the regexp engine available in most parts of calibre."
36 msgstr ""
37 "Questo elenco riassume le parti più comunemente usate/più difficili da "
38 "ricordare del motore regex disponibile in molte delle parti di calibre."
39
40 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:10
41 msgid "Contents"
42 msgstr "Contenuti"
43
44 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:13
45 msgid "Character classes"
46 msgstr "Classi di caratteri"
47
48 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:15
49 msgid ""
50 "Character classes are useful to represent different groups of characters, "
51 "succinctly."
52 msgstr ""
53 "Le classi di caratteri sono utili per rappresentare gruppi diversi di "
54 "caratteri in modo conciso."
55
56 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:18
57 msgid "Examples:"
58 msgstr "Esempi:"
59
60 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:21
61 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:52
62 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:241
63 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:271
64 msgid "**Representation**"
65 msgstr "**Rappresentazione**"
66
67 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:21
68 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:52
69 msgid "**Class**"
70 msgstr "**Classe**"
71
72 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:24
73 msgid "``[a-z]``"
74 msgstr "``[a-z]``"
75
76 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:24
77 msgid ""
78 "Lowercase letters. Does not include characters with accent mark and "
79 "ligatures"
80 msgstr ""
81 "Lettere minuscole. Non include caratteri accentati, segnati e legature"
82
83 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:27
84 msgid "``[a-z0-9]``"
85 msgstr "``[a-z0-9]``"
86
87 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:27
88 msgid "Lowercase letters from a to z or numbers from 0 to 9"
89 msgstr "Lettere minuscole dalla a alla z o numeri da 0 a 9"
90
91 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:29
92 msgid "``[A-Za-z-]``"
93 msgstr "``[A-Za-z-]``"
94
95 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:29
96 msgid ""
97 "Uppercase or lowercase letters, or a dash. To include the dash in a class, "
98 "you must put it at the beginning or at the end so as not to confuse it with "
99 "the hyphen that specifies a range of characters"
100 msgstr ""
101 "Lettere maiuscole, minuscole o un trattino. Per includere il trattino in una"
102 " classe devi metterlo all'inizio oppure alla fine, per non confonderlo con "
103 "quello che specifica un intervallo di caratteri."
104
105 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:33
106 msgid "``[^0-9]``"
107 msgstr "``[^0-9]``"
108
109 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:33
110 msgid ""
111 "Any character except a digit. The caret (^) placed at the beginning of the "
112 "class excludes the characters of the class (complemented class)"
113 msgstr ""
114 "Qualsiasi carattere tranne una cifra. Il segno di omissione (^) all'inizio "
115 "della classe esclude i caratteri della classe (classe complementare)"
116
117 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:36
118 msgid "``[[a-z]--[aeiouy]]``"
119 msgstr "``[[a-z]--[aeiouy]]``"
120
121 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:36
122 msgid ""
123 "The lowercase consonants. A class can be included in a class. The characters"
124 " ``--`` exclude what follows them"
125 msgstr ""
126 "Consonanti minuscole. Una classe può essere inclusa in una classe. I "
127 "caratteri `--` escludono ciò che li segue"
128
129 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:39
130 msgid "``[\\w--[\\d_]]``"
131 msgstr "``[\\w--[\\d_]]``"
132
133 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:39
134 msgid ""
135 "All letters (including foreign accented characters). Abbreviated classes can"
136 " be used inside a class"
137 msgstr ""
138 "Tutte le lettere (inclusi i caratteri accentati stranieri). Le classi "
139 "abbreviate possono essere utilizzate all'interno di una classe"
140
141 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:44
142 msgid "Example::"
143 msgstr "Esempio::"
144
145 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:49
146 msgid "Shorthand character classes"
147 msgstr "Classi di caratteri abbreviate"
148
149 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:55
150 msgid "``\\d``"
151 msgstr ""
152
153 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:55
154 msgid "A digit (same as ``[0-9]``)"
155 msgstr "Una cifra (uguale a ``[0-9]``)"
156
157 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:57
158 msgid "``\\D``"
159 msgstr "``\\D``"
160
161 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:57
162 msgid "Any non-numeric character (same as ``[^0-9]``)"
163 msgstr "Ogni carattere non numerico (uguale a ``[^0-9]``)"
164
165 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:59
166 msgid "``\\w``"
167 msgstr ""
168
169 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:59
170 msgid ""
171 "An alphanumeric character (``[a-zA-Z0-9]``) including characters with accent"
172 " mark and ligatures"
173 msgstr ""
174 "Un carattere alfanumerico (``[a-zA-Z0-9]``) inclusi caratteri con accenti, "
175 "segni e legature."
176
177 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:62
178 msgid "``\\W``"
179 msgstr "``\\W``"
180
181 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:62
182 msgid "Any “non-word” character"
183 msgstr "Qualsiasi carattere \"non-parola\""
184
185 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:64
186 msgid "``\\s``"
187 msgstr ""
188
189 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:64
190 msgid "Space, non-breaking space, tab, carriage return"
191 msgstr ""
192
193 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:66
194 msgid "``\\S``"
195 msgstr "``\\S``"
196
197 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:66
198 msgid "Any “non-whitespace” character"
199 msgstr "Qualsiasi carattere \"non-vuoto\""
200
201 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:68
202 msgid "``.``"
203 msgstr "``.``"
204
205 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:68
206 msgid ""
207 "Any character except newline. Use the “dot all” checkbox or the ``(?s)`` "
208 "regexp modifier to include the newline character."
209 msgstr ""
210 "Qualsiasi carattere eccetto newline. Usa la casella \"Il punto vale tutto\" "
211 "o il modificatore regex ``(?s)`` per includere il carattere newline."
212
213 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:73
214 msgid "The quantifiers"
215 msgstr "I quantificatori"
216
217 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:76
218 msgid "**Quantifier**"
219 msgstr "**Quantificatore**"
220
221 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:76
222 msgid "**Number of occurrences of the expression preceding the quantifier**"
223 msgstr ""
224 "**Numero di occorrenze dell'espressione che precede il quantificatore**"
225
226 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:79
227 msgid "``?``"
228 msgstr "``?``"
229
230 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:79
231 msgid "0 or 1 occurrence of the expression. Same as ``{0,1}``"
232 msgstr "0 o 1 occorrenze dell'espressione. Uguale a ``{0,1}``"
233
234 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:81
235 msgid "``+``"
236 msgstr "``+``"
237
238 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:81
239 msgid "1 or more occurrences of the expression. Same as ``{1,}``"
240 msgstr "1 o più occorrenze dell'espressione. Uguale a ``{1,}``"
241
242 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:83
243 msgid "``*``"
244 msgstr "``*``"
245
246 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:83
247 msgid "0, 1 or more occurrences of the expression. Same as ``{0,}``"
248 msgstr "0, 1 o più occorrenze dell'espressione. Uguale a ``{0,}``"
249
250 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:85
251 msgid "``{n}``"
252 msgstr "``{n}``"
253
254 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:85
255 msgid "Exactly n occurrences of the expression"
256 msgstr "Esattamente n occorrenze dell'espressione"
257
258 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:87
259 msgid "``{min,max}``"
260 msgstr "``{min,max}``"
261
262 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:87
263 msgid "Number of occurrences between the minimum and maximum values included"
264 msgstr ""
265 "Un numero di occorrenze compreso tra i valori minimo e massimo inclusi"
266
267 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:89
268 msgid "``{min,}``"
269 msgstr "``{min,}``"
270
271 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:89
272 msgid "Number of occurrences between the minimum value included and infinity"
273 msgstr ""
274
275 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:91
276 msgid "``{,max}``"
277 msgstr "``{,max}``"
278
279 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:91
280 msgid "Number of occurrences between 0 and the maximum value included"
281 msgstr "Un numero di occorrenze compreso tra 0 e il valore massimo incluso"
282
283 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:97
284 msgid "Greed"
285 msgstr "Voracità"
286
287 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:99
288 msgid ""
289 "By default, with quantifiers, the regular expression engine is greedy: it "
290 "extends the selection as much as possible. This often causes surprises, at "
291 "first. ``?`` follows a quantifier to make it lazy. Avoid putting two in the "
292 "same expression, the result can be unpredictable."
293 msgstr ""
294 "Per impostazione predefinita, con i quantificatori, il motore delle "
295 "espressioni regolari è vorace (greedy): estende la selezione il più "
296 "possibile. Questo causa delle sorprese all'inizio. ``?`` segue un "
297 "quantificatore per renderlo pigro (lazy). Evita di metterne due nella stessa"
298 " espressione, i risultati possono essere imprevedibili."
299
300 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:104
301 msgid ""
302 "Beware of nesting quantifiers, for example, the pattern ``(a*)*``, as it "
303 "exponentially increases processing time."
304 msgstr ""
305 "Fai attenzione nel nidificare i quantificatori, come ad esempio "
306 "nell'espressione ``(a*)*``, perché fare ciò aumenta esponenzialmente il "
307 "tempo di elaborazione."
308
309 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:108
310 msgid "Alternation"
311 msgstr "Alternative"
312
313 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:110
314 msgid ""
315 "The ``|`` character in a regular expression is a logical ``OR``. It means "
316 "that either the preceding or the following expression can match."
317 msgstr ""
318 "Il carattere ``|`` in un'espressione regolare è un ``OR`` logico. Significa "
319 "che verrà cercata una corrispondenza o per l'espressione precedente o per "
320 "quella seguente."
321
322 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:114
323 msgid "Exclusion"
324 msgstr "Esclusione"
325
326 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:116
327 msgid "Method 1"
328 msgstr "Metodo 1"
329
330 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:118
331 msgid "``pattern_to_exclude(*SKIP)(*FAIL)|pattern_to_select``"
332 msgstr "``schema_da_escludere(*SKIP)(*FAIL)|schema_da_selezionare``"
333
334 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:120
335 msgid "Example:"
336 msgstr "Esempio:"
337
338 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:122
339 msgid "``\"Blabla\"(*SKIP)(*FAIL)|Blabla``"
340 msgstr "``\"Blabla\"(*SKIP)(*FAIL)|Blabla``"
341
342 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:124
343 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:132
344 msgid ""
345 "selects Blabla, in the strings Blabla or \"Blabla or Blabla\", but not in "
346 "\"Blabla\"."
347 msgstr ""
348 "seleziona Blabla, nelle stringhe Blabla o \"Blabla or Blabla\", ma non in "
349 "\"Blabla\"."
350
351 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:126
352 msgid "Method 2"
353 msgstr "Metodo 2"
354
355 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:128
356 msgid "``pattern_to_exclude\\K|(pattern_to_select)``"
357 msgstr "``schema_da_escludere\\K|(schema_da_selezionare)``"
358
359 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:130
360 msgid "``\"Blabla\"\\K|(Blabla)``"
361 msgstr "``\"Blabla\"\\K|(Blabla)``"
362
363 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:135
364 msgid "Anchors"
365 msgstr "Ancoraggi"
366
367 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:137
368 msgid ""
369 "An anchor is a way to match a logical location in a string, rather than a "
370 "character. The most useful anchors for text processing are:"
371 msgstr ""
372 "Un ancoraggio è un modo di trovare una posizione logica in una stringa, "
373 "invece di un carattere. Gli ancoraggi più utili per l'elaborazione del testo"
374 " sono:"
375
376 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:140
377 msgid "``\\b``"
378 msgstr "``\\b``"
379
380 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:141
381 msgid ""
382 "Designates a word boundary, i.e. a transition from space to non-space "
383 "character. For example, you can use ``\\bsurd`` to match ``the surd`` but "
384 "not ``absurd``."
385 msgstr ""
386 "Indica il confine di una parola, ovvero una transizione da un carattere "
387 "spazio a uno non-spazio. Per esempio, puoi usare ``\\bcerto`` per trovare "
388 "``di certo`` ma non ``concerto``."
389
390 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:145
391 msgid "``^``"
392 msgstr "``^``"
393
394 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:146
395 msgid "Matches the start of a line (in multi-line mode, which is the default)"
396 msgstr ""
397 "Trova l'inizio di una riga (in modalità multilinea, che è quella "
398 "predefinita)"
399
400 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:149
401 msgid "``$``"
402 msgstr "``$``"
403
404 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:150
405 msgid "Matches the end of a line (in multi-line mode, which is the default)"
406 msgstr ""
407 "Trova la fine di una riga (in modalità multilinea, che è quella predefinita)"
408
409 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:152
410 msgid "``\\K``"
411 msgstr "``\\K``"
412
413 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:153
414 msgid ""
415 "Resets the start position of the selection to its position in the pattern. "
416 "Some regexp engines (but not calibre) do not allow lookbehind of variable "
417 "length, especially with quantifiers. When you can use ``\\K`` with these "
418 "engines, it also allows you to get rid of this limit by writing the "
419 "equivalent of a positive lookbehind of variable length."
420 msgstr ""
421 "Ripristina la posizione di partenza della selezione alla sua posizione nello"
422 " schema. Alcuni motori di regex (ma non quello di calibre) non permettono "
423 "lookbehind di lunghezza variabile, specialmente con i quantificatori. Se "
424 "puoi utilizzare ``\\K`` con questi motori, puoi anche aggirare questa "
425 "limitazione scrivendo l'equivalente di un lookbehind positivo di lunghezza "
426 "variabile."
427
428 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:160
429 msgid "Groups"
430 msgstr "Gruppi"
431
432 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:162
433 msgid "``(expression)``"
434 msgstr "``(espressione)``"
435
436 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:163
437 msgid ""
438 "Capturing group, which stores the selection and can be recalled later in the"
439 " *search* or *replace* patterns with ``\\n``, where ``n`` is the sequence "
440 "number of the capturing group (starting at 1 in reading order)"
441 msgstr ""
442 "Gruppo di cattura, che conserva la selezione e può essere richiamato in "
443 "seguito nelle espressioni *cerca* e *sostituisci* usando ``\\n``, dove ``n``"
444 " è il numero di sequenza del gruppo di cattura (a partire da 1 in ordine di "
445 "lettura)"
446
447 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:167
448 msgid "``(?:expression)``"
449 msgstr "``(?:espressione)``"
450
451 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:168
452 msgid "Group that does not capture the selection"
453 msgstr "Gruppo che non cattura la selezione"
454
455 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:170
456 msgid "``(?>expression)``"
457 msgstr "``(?>espressione)``"
458
459 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:171
460 msgid ""
461 "Atomic Group: As soon as the expression is satisfied, the regexp engine "
462 "passes, and if the rest of the pattern fails, it will not backtrack to try "
463 "other combinations with the expression. Atomic groups do not capture."
464 msgstr ""
465 "Gruppo Atomico: Non appena l'espressione è soddisfatta, il motore regex "
466 "prosegue, e se il resto dello schema fallisce, non tornerà indietro per "
467 "provare altre combinazioni con l'espressione. I gruppi atomici non sono di "
468 "cattura."
469
470 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:176
471 msgid "``(?|expression)``"
472 msgstr "``(?|espressione)``"
473
474 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:177
475 msgid ""
476 "Branch reset group: the branches of the alternations included in the "
477 "expression share the same group numbers"
478 msgstr ""
479 "Gruppo branch reset: i rami (branches) delle alternative incluse "
480 "nell'espressione condividono gli stessi numeri di gruppo"
481
482 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:180
483 msgid "``(?<name>expression)``"
484 msgstr "``(?<nome>espressione)``"
485
486 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:181
487 msgid ""
488 "Group named “name”. The selection can be recalled later in the *search* "
489 "pattern by ``(?P=name)`` and in the *replace* by ``\\g<name>``. Two "
490 "different groups can use the same name."
491 msgstr ""
492 "Gruppo chiamato “nome”. La selezione può essere richiamata in seguito "
493 "nell'espressione *cerca* con ``(?P=nome)`` e in quella *sostituisci* con "
494 "``\\g<nome>``. Due gruppi diversi possono usare lo stesso nome."
495
496 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:187
497 msgid "Lookarounds"
498 msgstr "Lookaround"
499
500 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:190
501 msgid "**Lookaround**"
502 msgstr "**Lookaround**"
503
504 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:190
505 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:241
506 msgid "**Meaning**"
507 msgstr "**Significato**"
508
509 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:193
510 msgid "``?=``"
511 msgstr "``?=``"
512
513 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:193
514 msgid "Positive lookahead (to be placed after the selection)"
515 msgstr "Lookahead positivo (da inserire dopo la selezione)"
516
517 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:196
518 msgid "``?!``"
519 msgstr "``?!``"
520
521 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:196
522 msgid "Negative lookahead (to be placed after the selection)"
523 msgstr "Lookahead negativo (da inserire dopo la selezione)"
524
525 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:199
526 msgid "``?<=``"
527 msgstr "``?<=``"
528
529 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:199
530 msgid "Positive lookbehind (to be placed before the selection)"
531 msgstr "Lookbehind positivo (da inserire prima della selezione)"
532
533 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:202
534 msgid "``?<!``"
535 msgstr "``?<!``"
536
537 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:202
538 msgid "Negative lookbehind (to be placed before the selection)"
539 msgstr "Lookbehind negativo (da inserire prima della selezione)"
540
541 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:206
542 msgid ""
543 "Lookaheads and lookbehinds do not consume characters, they are zero length "
544 "and do not capture. They are atomic groups: as soon as the assertion is "
545 "satisfied, the regexp engine passes, and if the rest of the pattern fails, "
546 "it will not backtrack inside the lookaround to try other combinations."
547 msgstr ""
548 "I lookahead e i lookbehind non consumano caratteri, hanno lunghezza zero e "
549 "non catturano. Sono gruppi atomici: non appena l'asserzione è soddisfatta, "
550 "il motore regex prosegue, e se il resto dello schema fallisce, non tornerà "
551 "indietro all'interno del lookaround per provare altre combinazioni."
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 "Quando si cercano più corrispondenze in una stringa, alla posizione di "
566 "partenza di ogni tentativo di corrispondenza, un lookbehind può esaminare i "
567 "caratteri precedenti la posizione corrente. Di conseguenza, nella stringa "
568 "123, lo schema ``(?<=\\d)\\d`` (una cifra preceduta da una cifra) dovrebbe "
569 "in teoria selezionare 2 e 3. D'altra parte ``\\d\\K\\d`` può solo "
570 "selezionare 2, perché la posizione di partenza dopo la prima selezione si "
571 "trova immediatamente prima del 3, e non ci sono abbastanza cifre per una "
572 "seconda corrispondenza. Similmente, ``\\d(\\d)`` cattura solo 2. Nella "
573 "pratica del motore regex di calibre, il lookbehind positivo si comporta allo"
574 " stesso modo, e seleziona solo 2, contrariamente alla teoria."
575
576 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:221
577 msgid ""
578 "Groups can be placed inside lookarounds, but capture is rarely useful. "
579 "Nevertheless, if it is useful, it will be necessary to be very careful in "
580 "the use of a quantifier in a lookbehind: the greed associated with the "
581 "absence of backtracking can give a surprising capture. For this reason, use "
582 "``\\K`` rather than a positive lookbehind when you have a quantifier (or "
583 "worse, several) in a capturing group of the positive lookbehind."
584 msgstr ""
585 "I gruppi possono essere inseriti all'interno dei lookaround, ma la cattura è"
586 " raramente utile. Cionondiméno, se necessaria, bisognerà fare molta "
587 "attenzione nell'uso di un quantificatore in un lookbehind: la voracità "
588 "associata al non tornare indietro puo dare una cattura sorprendente. Per "
589 "questa ragione, usa ``\\K`` piuttosto che un lookbehind positivo quando hai "
590 "un quantificatore (o peggio, più di uno) in un gruppo di cattura del "
591 "lookbehind positivo."
592
593 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:228
594 msgid "Example of negative lookahead:"
595 msgstr "Esempio di lookahead negativo:"
596
597 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:230
598 msgid "``(?![^<>{}]*[>}])``"
599 msgstr "``(?![^<>{}]*[>}])``"
600
601 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:232
602 msgid ""
603 "Placed at the end of the pattern prevents selecting within a tag or a style "
604 "embedded in the file."
605 msgstr ""
606
607 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:234
608 msgid ""
609 "Whenever possible, it is always better to \"anchor\" the lookarounds, to "
610 "reduce the number of steps necessary to obtain the result."
611 msgstr ""
612 "Quando possibile, è sempre meglio \"ancorare\" i lookaround, per ridurre il "
613 "numero di passi necessari ad ottenere il risultato."
614
615 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:238
616 msgid "Recursion"
617 msgstr "Ricorsività"
618
619 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:244
620 msgid "``(?R)``"
621 msgstr "``(?R)``"
622
623 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:244
624 msgid "Recursion of the entire pattern"
625 msgstr "Ricorsività dell'intero schema"
626
627 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:247
628 msgid "``(?1)``"
629 msgstr "``(?1)``"
630
631 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:247
632 msgid ""
633 "Recursion of the only pattern of the numbered capturing group, here group 1"
634 msgstr ""
635 "Ricorsività solamente dello schema del gruppo di cattura numerato, qui il "
636 "gruppo 1"
637
638 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:251
639 msgid ""
640 "Recursion is calling oneself. This is useful for balanced queries, such as "
641 "quoted strings, which can contain embedded quoted strings. Thus, if during "
642 "the processing of a string between double quotation marks, we encounter the "
643 "beginning of a new string between double quotation marks, well we know how "
644 "to do, and we call ourselves. Then we have a pattern like::"
645 msgstr ""
646 "Ricorsività qui significa invocare se stessi. Ciò è utile per richieste "
647 "equilibrate, come le stringhe tra virgolette, che possono avere incorporate "
648 "stringhe tra virgolette. Quindi, se durante l'elaborazione di una stringa "
649 "tra virgolette doppie incontriamo l'inizio di una nuova stringa compresa tra"
650 " due virgolette doppie, sappiamo cosa fare, e invochiamo noi stessi. E "
651 "abbiamo uno schema di questo tipo::"
652
653 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:259
654 msgid ""
655 "To select a string between double quotation marks without stopping on an "
656 "embedded string::"
657 msgstr ""
658 "Per selezionare una stringa compresa tra due virgolette doppie senza "
659 "fermarci su una stringa incorporata::"
660
661 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:263
662 msgid ""
663 "This template can also be used to modify pairs of tags that can be embedded,"
664 " such as ``<div>`` tags."
665 msgstr ""
666 "Questo modello può anche essere usato per modificare coppie di tag che "
667 "possono essere incorporati, come i tag ``<div>``."
668
669 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:268
670 msgid "Special characters"
671 msgstr "Caratteri speciali"
672
673 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:271
674 msgid "**Character**"
675 msgstr "**Carattere**"
676
677 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:274
678 msgid "``\\t``"
679 msgstr "``\\t``"
680
681 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:274
682 msgid "tabulation"
683 msgstr "rientro (tabulazione)"
684
685 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:277
686 msgid "``\\n``"
687 msgstr "``\\n``"
688
689 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:277
690 msgid "line break"
691 msgstr "interruzione di linea"
692
693 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:280
694 msgid "``\\x20``"
695 msgstr "``\\x20``"
696
697 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:280
698 msgid "(breakable) space"
699 msgstr "spazio (divisibile)"
700
701 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:283
702 msgid "``\\xa0``"
703 msgstr "``\\xa0``"
704
705 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:283
706 msgid "no-break space"
707 msgstr "spazio unificatore (nbsp)"
708
709 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:288
710 msgid "Meta-characters"
711 msgstr "Metacaratteri"
712
713 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:290
714 msgid ""
715 "Meta-characters are those that have a special meaning for the regexp engine."
716 " Of these, twelve must be preceded by an escape character, the backslash "
717 "(``\\``), to lose their special meaning and become a regular character "
718 "again::"
719 msgstr ""
720 "I metacaratteri sono quelli che hanno un significato speciale per il motore "
721 "di regex. Di questi, dodici devono essere preceduti da un carattere di "
722 "escape, la barra rovesciata (``\\``), per perdere il loro significato "
723 "speciale e ridiventare caratteri normali::"
724
725 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:296
726 msgid ""
727 "Seven other meta-characters do not need to be preceded by a backslash (but "
728 "can be without any other consequence)::"
729 msgstr ""
730 "Sette altri metacaratteri non hanno bisogno di essere preceduti da una barra"
731 " rovesciata (ma lo possono essere senza altre conseguenze)::"
732
733 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:302
734 msgid ""
735 "Special characters lose their status if they are used inside a class "
736 "(between brackets ``[]``). The closing bracket and the dash have a special "
737 "status in a class. Outside the class, the dash is a simple literal, the "
738 "closing bracket remains a meta-character."
739 msgstr ""
740 "I caratteri speciali perdono il loro stato se vengono usati dentro una "
741 "classe (tra le parentesi ``[]``). La parentesi di chiusura e il trattino "
742 "hanno uno stato speciale dentro una classe. Fuori dalla classe, il trattino "
743 "è una semplice lettera, mentre la parentesi di chiusura rimane un "
744 "metacarattere."
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 "La barra (/) e il cancelletto (o hashtag) (#) non sono metacaratteri, non "
752 "hanno bisogno del carattere di escape."
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 "In alcuni strumenti, come regex101.com con il motore Python, le virgolette "
761 "doppie hanno lo stato speciale di separatore e devono essere precedute dal "
762 "carattere di escape, oppure vanno cambiate le opzioni. Così non è "
763 "nell'editor di calibre."
764
765 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:315
766 msgid "Modes"
767 msgstr "Modalità"
768
769 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:317
770 msgid "``(?s)``"
771 msgstr "``(?s)``"
772
773 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:318
774 msgid "Causes the dot (``.``) to match newline characters as well"
775 msgstr "Fa in modo che il punto (``.``) trovi anche i caratteri newline"
776
777 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:320
778 msgid "``(?m)``"
779 msgstr "``(?m)``"
780
781 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:321
782 msgid ""
783 "Makes the ``^`` and ``$`` anchors match the start and end of lines instead "
784 "of the start and end of the entire string."
785 msgstr ""
786 "Fa in modo che gli ancoraggi ``^`` e ``$`` trovino l'inizio e la fine delle "
787 "righe invece dell'inizio e della fine dell'intera stringa."