Debian Codegraph @

translations/manual/ar/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 # Benamara Mohamed <[email protected]>, 2018
8 # Usama Khalil, 2026
9 #
10 #, fuzzy
11 msgid ""
12 msgstr ""
13 "Project-Id-Version: calibre 9.3.0\n"
14 "Report-Msgid-Bugs-To: \n"
15 "POT-Creation-Date: 2026-02-21 03:43+0000\n"
16 "PO-Revision-Date: 2017-12-15 03:02+0000\n"
17 "Last-Translator: Usama Khalil, 2026\n"
18 "Language-Team: Arabic (https://app.transifex.com/calibre/teams/19337/ar/)\n"
19 "MIME-Version: 1.0\n"
20 "Content-Type: text/plain; charset=UTF-8\n"
21 "Content-Transfer-Encoding: 8bit\n"
22 "Language: ar\n"
23 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
24
25 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:2
26 msgid "Quick reference for regexp syntax"
27 msgstr "مرجع سريع لبناء جملة التعبيرات العادية"
28
29 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:4
30 msgid ""
31 "This checklist summarizes the most commonly used/hard to remember parts of "
32 "the regexp engine available in most parts of calibre."
33 msgstr ""
34 "تلخص هذه القائمة المرجعية الأجزاء الأكثر استخدامًا/صعوبة التذكر من محرك "
35 "التعبيرات العادية المتاح في معظم أجزاء calibre."
36
37 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:10
38 msgid "Contents"
39 msgstr "المحتويات"
40
41 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:13
42 msgid "Character classes"
43 msgstr "فئات الأحرف"
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
51 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:18
52 msgid "Examples:"
53 msgstr "أمثلة:"
54
55 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:21
56 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:52
57 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:241
58 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:271
59 msgid "**Representation**"
60 msgstr "**التمثيل**"
61
62 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:21
63 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:52
64 msgid "**Class**"
65 msgstr "**الفئة**"
66
67 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:24
68 msgid "``[a-z]``"
69 msgstr "``[a-z]``"
70
71 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:24
72 msgid ""
73 "Lowercase letters. Does not include characters with accent mark and "
74 "ligatures"
75 msgstr "أحرف صغيرة. لا تتضمن الأحرف ذات علامات التشكيل والروابط."
76
77 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:27
78 msgid "``[a-z0-9]``"
79 msgstr "``[a-z0-9]``"
80
81 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:27
82 msgid "Lowercase letters from a to z or numbers from 0 to 9"
83 msgstr "أحرف صغيرة من a إلى z أو أرقام من 0 إلى 9"
84
85 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:29
86 msgid "``[A-Za-z-]``"
87 msgstr "``[A-Za-z-]``"
88
89 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:29
90 msgid ""
91 "Uppercase or lowercase letters, or a dash. To include the dash in a class, "
92 "you must put it at the beginning or at the end so as not to confuse it with "
93 "the hyphen that specifies a range of characters"
94 msgstr ""
95 "أحرف كبيرة أو صغيرة، أو شرطة. لتضمين الشرطة في فئة، يجب وضعها في البداية أو "
96 "في النهاية حتى لا تختلط بالواصلة التي تحدد نطاقًا من الأحرف."
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 "(فئة مكملة)."
109
110 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:36
111 msgid "``[[a-z]--[aeiouy]]``"
112 msgstr "``[[a-z]--[aeiouy]]``"
113
114 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:36
115 msgid ""
116 "The lowercase consonants. A class can be included in a class. The characters"
117 " ``--`` exclude what follows them"
118 msgstr ""
119 "الحروف الساكنة الصغيرة. يمكن تضمين فئة داخل فئة. الأحرف ``--`` تستبعد ما "
120 "يليها."
121
122 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:39
123 msgid "``[\\w--[\\d_]]``"
124 msgstr "``[\\w--[\\d_]]``"
125
126 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:39
127 msgid ""
128 "All letters (including foreign accented characters). Abbreviated classes can"
129 " be used inside a class"
130 msgstr ""
131 "جميع الأحرف (بما في ذلك الأحرف الأجنبية المشددة). يمكن استخدام الفئات "
132 "المختصرة داخل فئة."
133
134 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:44
135 msgid "Example::"
136 msgstr "مثال::"
137
138 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:49
139 msgid "Shorthand character classes"
140 msgstr "فئات الأحرف المختصرة"
141
142 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:55
143 msgid "``\\d``"
144 msgstr "``\\d``"
145
146 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:55
147 msgid "A digit (same as ``[0-9]``)"
148 msgstr "رقم (نفس ``[0-9]``)"
149
150 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:57
151 msgid "``\\D``"
152 msgstr "``\\D``"
153
154 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:57
155 msgid "Any non-numeric character (same as ``[^0-9]``)"
156 msgstr "أي حرف غير رقمي (نفس ``[^0-9]``)"
157
158 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:59
159 msgid "``\\w``"
160 msgstr "``\\w``"
161
162 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:59
163 msgid ""
164 "An alphanumeric character (``[a-zA-Z0-9]``) including characters with accent"
165 " mark and ligatures"
166 msgstr ""
167 "حرف أبجدي رقمي (``[a-zA-Z0-9]``) بما في ذلك الأحرف ذات علامات التشكيل "
168 "والروابط."
169
170 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:62
171 msgid "``\\W``"
172 msgstr "``\\W``"
173
174 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:62
175 msgid "Any “non-word” character"
176 msgstr "أي حرف \"غير كلمة\""
177
178 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:64
179 msgid "``\\s``"
180 msgstr "``\\s``"
181
182 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:64
183 msgid "Space, non-breaking space, tab, carriage return"
184 msgstr ""
185
186 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:66
187 msgid "``\\S``"
188 msgstr "``\\S``"
189
190 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:66
191 msgid "Any “non-whitespace” character"
192 msgstr "أي حرف \"غير مسافة بيضاء\""
193
194 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:68
195 msgid "``.``"
196 msgstr "``.``"
197
198 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:68
199 msgid ""
200 "Any character except newline. Use the “dot all” checkbox or the ``(?s)`` "
201 "regexp modifier to include the newline character."
202 msgstr ""
203 "أي حرف باستثناء السطر الجديد. استخدم مربع الاختيار \"كل النقاط\" أو معدّل "
204 "التعبير العادي ``(?s)`` لتضمين حرف السطر الجديد."
205
206 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:73
207 msgid "The quantifiers"
208 msgstr "المحددات الكمية"
209
210 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:76
211 msgid "**Quantifier**"
212 msgstr "**المحدد الكمي**"
213
214 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:76
215 msgid "**Number of occurrences of the expression preceding the quantifier**"
216 msgstr "**عدد مرات ظهور التعبير الذي يسبق المحدد الكمي**"
217
218 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:79
219 msgid "``?``"
220 msgstr "``?``"
221
222 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:79
223 msgid "0 or 1 occurrence of the expression. Same as ``{0,1}``"
224 msgstr "0 أو 1 تكرار للتعبير. نفس ``{0,1}``"
225
226 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:81
227 msgid "``+``"
228 msgstr "``+``"
229
230 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:81
231 msgid "1 or more occurrences of the expression. Same as ``{1,}``"
232 msgstr "1 أو أكثر من مرات ظهور التعبير. نفس ``{1,}``"
233
234 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:83
235 msgid "``*``"
236 msgstr "``*``"
237
238 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:83
239 msgid "0, 1 or more occurrences of the expression. Same as ``{0,}``"
240 msgstr "0، 1 أو أكثر من مرات ظهور التعبير. نفس ``{0,}``"
241
242 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:85
243 msgid "``{n}``"
244 msgstr "``{n}``"
245
246 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:85
247 msgid "Exactly n occurrences of the expression"
248 msgstr "بالضبط n تكرار للتعبير"
249
250 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:87
251 msgid "``{min,max}``"
252 msgstr "``{min,max}``"
253
254 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:87
255 msgid "Number of occurrences between the minimum and maximum values included"
256 msgstr "عدد مرات الظهور بين القيم الدنيا والقصوى المضمنة"
257
258 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:89
259 msgid "``{min,}``"
260 msgstr "``{min,}``"
261
262 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:89
263 msgid "Number of occurrences between the minimum value included and infinity"
264 msgstr ""
265
266 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:91
267 msgid "``{,max}``"
268 msgstr "``{,max}``"
269
270 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:91
271 msgid "Number of occurrences between 0 and the maximum value included"
272 msgstr "عدد مرات الظهور بين 0 والقيمة القصوى المضمنة"
273
274 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:97
275 msgid "Greed"
276 msgstr "الجشع"
277
278 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:99
279 msgid ""
280 "By default, with quantifiers, the regular expression engine is greedy: it "
281 "extends the selection as much as possible. This often causes surprises, at "
282 "first. ``?`` follows a quantifier to make it lazy. Avoid putting two in the "
283 "same expression, the result can be unpredictable."
284 msgstr ""
285 "افتراضيًا، مع المحددات الكمية، يكون محرك التعبير العادي جشعًا: فهو يمدد "
286 "التحديد قدر الإمكان. غالبًا ما يسبب هذا مفاجآت في البداية. تتبع ``?`` محددًا"
287 " كميًا لجعله كسولًا. تجنب وضع اثنين في نفس التعبير، فقد تكون النتيجة غير "
288 "متوقعة."
289
290 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:104
291 msgid ""
292 "Beware of nesting quantifiers, for example, the pattern ``(a*)*``, as it "
293 "exponentially increases processing time."
294 msgstr ""
295 "احذر من تداخل المحددات الكمية، على سبيل المثال، النمط ``(a*)*``، لأنه يزيد "
296 "وقت المعالجة بشكل كبير."
297
298 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:108
299 msgid "Alternation"
300 msgstr "التبديل"
301
302 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:110
303 msgid ""
304 "The ``|`` character in a regular expression is a logical ``OR``. It means "
305 "that either the preceding or the following expression can match."
306 msgstr ""
307 "الحرف ``|`` في التعبير العادي هو ``OR`` منطقي. هذا يعني أن التعبير السابق أو"
308 " التالي يمكن أن يتطابق."
309
310 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:114
311 msgid "Exclusion"
312 msgstr "الاستبعاد"
313
314 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:116
315 msgid "Method 1"
316 msgstr "الطريقة 1"
317
318 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:118
319 msgid "``pattern_to_exclude(*SKIP)(*FAIL)|pattern_to_select``"
320 msgstr "``pattern_to_exclude(*SKIP)(*FAIL)|pattern_to_select``"
321
322 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:120
323 msgid "Example:"
324 msgstr "مثال:"
325
326 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:122
327 msgid "``\"Blabla\"(*SKIP)(*FAIL)|Blabla``"
328 msgstr "``\"Blabla\"(*SKIP)(*FAIL)|Blabla``"
329
330 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:124
331 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:132
332 msgid ""
333 "selects Blabla, in the strings Blabla or \"Blabla or Blabla\", but not in "
334 "\"Blabla\"."
335 msgstr ""
336 "يختار Blabla، في السلاسل Blabla أو \"Blabla أو Blabla\"، ولكن ليس في "
337 "\"Blabla\"."
338
339 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:126
340 msgid "Method 2"
341 msgstr "الطريقة 2"
342
343 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:128
344 msgid "``pattern_to_exclude\\K|(pattern_to_select)``"
345 msgstr "``pattern_to_exclude\\K|(pattern_to_select)``"
346
347 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:130
348 msgid "``\"Blabla\"\\K|(Blabla)``"
349 msgstr "``\"Blabla\"\\K|(Blabla)``"
350
351 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:135
352 msgid "Anchors"
353 msgstr "المراسي"
354
355 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:137
356 msgid ""
357 "An anchor is a way to match a logical location in a string, rather than a "
358 "character. The most useful anchors for text processing are:"
359 msgstr ""
360 "المرساة هي طريقة لمطابقة موقع منطقي في سلسلة، بدلاً من حرف. أكثر المراسي "
361 "فائدة لمعالجة النصوص هي:"
362
363 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:140
364 msgid "``\\b``"
365 msgstr "``\\b``"
366
367 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:141
368 msgid ""
369 "Designates a word boundary, i.e. a transition from space to non-space "
370 "character. For example, you can use ``\\bsurd`` to match ``the surd`` but "
371 "not ``absurd``."
372 msgstr ""
373 "يشير إلى حدود الكلمة، أي انتقال من مسافة إلى حرف غير مسافة. على سبيل المثال،"
374 " يمكنك استخدام ``\\bsurd`` لمطابقة ``the surd`` ولكن ليس ``absurd``."
375
376 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:145
377 msgid "``^``"
378 msgstr "``^``"
379
380 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:146
381 msgid "Matches the start of a line (in multi-line mode, which is the default)"
382 msgstr "يطابق بداية السطر (في وضع الأسطر المتعددة، وهو الوضع الافتراضي)"
383
384 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:149
385 msgid "``$``"
386 msgstr "``$``"
387
388 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:150
389 msgid "Matches the end of a line (in multi-line mode, which is the default)"
390 msgstr "يطابق نهاية السطر (في وضع الأسطر المتعددة، وهو الوضع الافتراضي)"
391
392 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:152
393 msgid "``\\K``"
394 msgstr "``\\K``"
395
396 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:153
397 msgid ""
398 "Resets the start position of the selection to its position in the pattern. "
399 "Some regexp engines (but not calibre) do not allow lookbehind of variable "
400 "length, especially with quantifiers. When you can use ``\\K`` with these "
401 "engines, it also allows you to get rid of this limit by writing the "
402 "equivalent of a positive lookbehind of variable length."
403 msgstr ""
404 "يعيد تعيين موضع بداية التحديد إلى موضعه في النمط. بعض محركات التعبيرات "
405 "العادية (ولكن ليس calibre) لا تسمح بالبحث الخلفي ذي الطول المتغير، خاصة مع "
406 "المحددات الكمية. عندما يمكنك استخدام ``\\K`` مع هذه المحركات، فإنه يسمح لك "
407 "أيضًا بالتخلص من هذا القيد عن طريق كتابة ما يعادل بحثًا خلفيًا إيجابيًا ذا "
408 "طول متغير."
409
410 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:160
411 msgid "Groups"
412 msgstr "المجموعات"
413
414 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:162
415 msgid "``(expression)``"
416 msgstr "``(expression)``"
417
418 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:163
419 msgid ""
420 "Capturing group, which stores the selection and can be recalled later in the"
421 " *search* or *replace* patterns with ``\\n``, where ``n`` is the sequence "
422 "number of the capturing group (starting at 1 in reading order)"
423 msgstr ""
424 "مجموعة التقاط، تخزن التحديد ويمكن استدعاؤها لاحقًا في أنماط *البحث* أو "
425 "*الاستبدال* باستخدام ``\\n``، حيث ``n`` هو الرقم التسلسلي لمجموعة الالتقاط "
426 "(تبدأ من 1 بترتيب القراءة)."
427
428 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:167
429 msgid "``(?:expression)``"
430 msgstr "``(?:expression)``"
431
432 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:168
433 msgid "Group that does not capture the selection"
434 msgstr "مجموعة لا تلتقط التحديد"
435
436 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:170
437 msgid "``(?>expression)``"
438 msgstr "``(?>expression)``"
439
440 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:171
441 msgid ""
442 "Atomic Group: As soon as the expression is satisfied, the regexp engine "
443 "passes, and if the rest of the pattern fails, it will not backtrack to try "
444 "other combinations with the expression. Atomic groups do not capture."
445 msgstr ""
446 "مجموعة ذرية: بمجرد استيفاء التعبير، يمر محرك التعبير العادي، وإذا فشل بقية "
447 "النمط، فلن يتراجع لمحاولة مجموعات أخرى مع التعبير. المجموعات الذرية لا "
448 "تلتقط."
449
450 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:176
451 msgid "``(?|expression)``"
452 msgstr "``(?|expression)``"
453
454 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:177
455 msgid ""
456 "Branch reset group: the branches of the alternations included in the "
457 "expression share the same group numbers"
458 msgstr ""
459 "مجموعة إعادة تعيين الفرع: فروع التبديلات المضمنة في التعبير تشترك في نفس "
460 "أرقام المجموعة."
461
462 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:180
463 msgid "``(?<name>expression)``"
464 msgstr "``(?<name>expression)``"
465
466 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:181
467 msgid ""
468 "Group named “name”. The selection can be recalled later in the *search* "
469 "pattern by ``(?P=name)`` and in the *replace* by ``\\g<name>``. Two "
470 "different groups can use the same name."
471 msgstr ""
472 "مجموعة مسماة \"name\". يمكن استدعاء التحديد لاحقًا في نمط *البحث* بواسطة "
473 "``(?P=name)`` وفي *الاستبدال* بواسطة ``\\g<name>``. يمكن لمجموعتين مختلفتين "
474 "استخدام نفس الاسم."
475
476 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:187
477 msgid "Lookarounds"
478 msgstr "نظرة سريعة"
479
480 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:190
481 msgid "**Lookaround**"
482 msgstr "**نظرة سريعة**"
483
484 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:190
485 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:241
486 msgid "**Meaning**"
487 msgstr "**المعنى**"
488
489 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:193
490 msgid "``?=``"
491 msgstr "``?=``"
492
493 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:193
494 msgid "Positive lookahead (to be placed after the selection)"
495 msgstr "بحث أمامي إيجابي (يوضع بعد التحديد)"
496
497 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:196
498 msgid "``?!``"
499 msgstr "``?!``"
500
501 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:196
502 msgid "Negative lookahead (to be placed after the selection)"
503 msgstr "بحث أمامي سلبي (يوضع بعد التحديد)"
504
505 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:199
506 msgid "``?<=``"
507 msgstr "``?<=``"
508
509 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:199
510 msgid "Positive lookbehind (to be placed before the selection)"
511 msgstr "بحث خلفي إيجابي (يوضع قبل التحديد)"
512
513 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:202
514 msgid "``?<!``"
515 msgstr "``?<!``"
516
517 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:202
518 msgid "Negative lookbehind (to be placed before the selection)"
519 msgstr "بحث خلفي سلبي (يوضع قبل التحديد)"
520
521 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:206
522 msgid ""
523 "Lookaheads and lookbehinds do not consume characters, they are zero length "
524 "and do not capture. They are atomic groups: as soon as the assertion is "
525 "satisfied, the regexp engine passes, and if the rest of the pattern fails, "
526 "it will not backtrack inside the lookaround to try other combinations."
527 msgstr ""
528 "البحث الأمامي والخلفي لا يستهلكان الأحرف، فهما ذو طول صفري ولا يلتقطان. "
529 "إنهما مجموعات ذرية: بمجرد استيفاء التأكيد، يمر محرك التعبير العادي، وإذا فشل"
530 " بقية النمط، فلن يتراجع داخل البحث الأمامي أو الخلفي لمحاولة مجموعات أخرى."
531
532 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:211
533 msgid ""
534 "When looking for multiple matches in a string, at the starting position of "
535 "each match attempt, a lookbehind can inspect the characters before the "
536 "current position. Therefore, on the string 123, the pattern ``(?<=\\d)\\d`` "
537 "(a digit preceded by a digit) should, in theory, select 2 and 3. On the "
538 "other hand, ``\\d\\K\\d`` can only select 2, because the starting position "
539 "after the first selection is immediately before 3, and there are not enough "
540 "digits for a second match. Similarly, ``\\d(\\d)`` only captures 2. In "
541 "calibre's regexp engine practice, the positive lookbehind behaves in the "
542 "same way, and selects only 2, contrary to theory."
543 msgstr ""
544 "عند البحث عن تطابقات متعددة في سلسلة، عند موضع بداية كل محاولة مطابقة، يمكن "
545 "للبحث الخلفي فحص الأحرف قبل الموضع الحالي. لذلك، على السلسلة 123، يجب أن "
546 "يختار النمط ``(?<=\\d)\\d`` (رقم مسبوق برقم)، نظريًا، 2 و 3. من ناحية أخرى، "
547 "يمكن لـ ``\\d\\K\\d`` اختيار 2 فقط، لأن موضع البداية بعد التحديد الأول هو "
548 "مباشرة قبل 3، ولا توجد أرقام كافية لمطابقة ثانية. وبالمثل، فإن ``\\d(\\d)`` "
549 "يلتقط 2 فقط. في ممارسة محرك التعبير العادي في calibre، يتصرف البحث الخلفي "
550 "الإيجابي بنفس الطريقة، ويختار 2 فقط، على عكس النظرية."
551
552 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:221
553 msgid ""
554 "Groups can be placed inside lookarounds, but capture is rarely useful. "
555 "Nevertheless, if it is useful, it will be necessary to be very careful in "
556 "the use of a quantifier in a lookbehind: the greed associated with the "
557 "absence of backtracking can give a surprising capture. For this reason, use "
558 "``\\K`` rather than a positive lookbehind when you have a quantifier (or "
559 "worse, several) in a capturing group of the positive lookbehind."
560 msgstr ""
561 "يمكن وضع المجموعات داخل عمليات البحث، ولكن الالتقاط نادرًا ما يكون مفيدًا. "
562 "ومع ذلك، إذا كان مفيدًا، فسيكون من الضروري توخي الحذر الشديد في استخدام محدد"
563 " كمي في البحث الخلفي: الجشع المرتبط بـ غياب التراجع يمكن أن يعطي التقاطًا "
564 "مفاجئًا. لهذا السبب، استخدم ``\\K`` بدلاً من البحث الخلفي الإيجابي عندما "
565 "يكون لديك محدد كمي (أو أسوأ من ذلك، عدة) في مجموعة التقاط للبحث الخلفي "
566 "الإيجابي."
567
568 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:228
569 msgid "Example of negative lookahead:"
570 msgstr "مثال على البحث الأمامي السلبي:"
571
572 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:230
573 msgid "``(?![^<>{}]*[>}])``"
574 msgstr "``(?![^<>{}]*[>}])``"
575
576 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:232
577 msgid ""
578 "Placed at the end of the pattern prevents selecting within a tag or a style "
579 "embedded in the file."
580 msgstr ""
581
582 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:234
583 msgid ""
584 "Whenever possible, it is always better to \"anchor\" the lookarounds, to "
585 "reduce the number of steps necessary to obtain the result."
586 msgstr ""
587 "كلما أمكن، من الأفضل دائمًا \"تثبيت\" البحث، لتقليل عدد الخطوات اللازمة "
588 "للحصول على النتيجة."
589
590 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:238
591 msgid "Recursion"
592 msgstr "الاستدعاء الذاتي"
593
594 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:244
595 msgid "``(?R)``"
596 msgstr "``(?R)``"
597
598 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:244
599 msgid "Recursion of the entire pattern"
600 msgstr "الاستدعاء الذاتي للنمط بأكمله"
601
602 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:247
603 msgid "``(?1)``"
604 msgstr "``(?1)``"
605
606 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:247
607 msgid ""
608 "Recursion of the only pattern of the numbered capturing group, here group 1"
609 msgstr ""
610 "الاستدعاء الذاتي للنمط الوحيد لمجموعة الالتقاط المرقمة، هنا المجموعة 1"
611
612 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:251
613 msgid ""
614 "Recursion is calling oneself. This is useful for balanced queries, such as "
615 "quoted strings, which can contain embedded quoted strings. Thus, if during "
616 "the processing of a string between double quotation marks, we encounter the "
617 "beginning of a new string between double quotation marks, well we know how "
618 "to do, and we call ourselves. Then we have a pattern like::"
619 msgstr ""
620 "الاستدعاء الذاتي هو استدعاء الذات. هذا مفيد للاستعلامات المتوازنة، مثل "
621 "السلاسل المقتبسة، والتي يمكن أن تحتوي على سلاسل مقتبسة مضمنة. وبالتالي، إذا "
622 "واجهنا أثناء معالجة سلسلة بين علامتي اقتباس مزدوجتين، بداية سلسلة جديدة بين "
623 "علامتي اقتباس مزدوجتين، فنحن نعرف كيف نفعل ذلك، ونستدعي أنفسنا. ثم يكون "
624 "لدينا نمط مثل::"
625
626 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:259
627 msgid ""
628 "To select a string between double quotation marks without stopping on an "
629 "embedded string::"
630 msgstr "لتحديد سلسلة بين علامتي اقتباس مزدوجتين دون التوقف عند سلسلة مضمنة::"
631
632 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:263
633 msgid ""
634 "This template can also be used to modify pairs of tags that can be embedded,"
635 " such as ``<div>`` tags."
636 msgstr ""
637 "يمكن استخدام هذا القالب أيضًا لتعديل أزواج من العلامات التي يمكن تضمينها، "
638 "مثل علامات ``<div>``."
639
640 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:268
641 msgid "Special characters"
642 msgstr "أحرف خاصة"
643
644 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:271
645 msgid "**Character**"
646 msgstr "**الحرف**"
647
648 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:274
649 msgid "``\\t``"
650 msgstr "``\\t``"
651
652 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:274
653 msgid "tabulation"
654 msgstr "جدولة"
655
656 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:277
657 msgid "``\\n``"
658 msgstr "``\\n``"
659
660 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:277
661 msgid "line break"
662 msgstr "فاصل سطر"
663
664 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:280
665 msgid "``\\x20``"
666 msgstr "``\\x20``"
667
668 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:280
669 msgid "(breakable) space"
670 msgstr "مسافة (قابلة للكسر)"
671
672 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:283
673 msgid "``\\xa0``"
674 msgstr "``\\xa0``"
675
676 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:283
677 msgid "no-break space"
678 msgstr "مسافة غير قابلة للكسر"
679
680 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:288
681 msgid "Meta-characters"
682 msgstr "أحرف ميتا"
683
684 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:290
685 msgid ""
686 "Meta-characters are those that have a special meaning for the regexp engine."
687 " Of these, twelve must be preceded by an escape character, the backslash "
688 "(``\\``), to lose their special meaning and become a regular character "
689 "again::"
690 msgstr ""
691 "الأحرف الوصفية هي تلك التي لها معنى خاص لمحرك التعبير العادي. من بين هذه، "
692 "يجب أن يسبق اثنا عشر حرفًا حرف هروب، وهو الشرطة المائلة للخلف (``\\``)، "
693 "لتفقد معناها الخاص وتصبح حرفًا عاديًا مرة أخرى::"
694
695 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:296
696 msgid ""
697 "Seven other meta-characters do not need to be preceded by a backslash (but "
698 "can be without any other consequence)::"
699 msgstr ""
700 "سبعة أحرف وصفية أخرى لا تحتاج إلى أن يسبقها شرطة مائلة للخلف (ولكن يمكن أن "
701 "تكون بدون أي عواقب أخرى)::"
702
703 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:302
704 msgid ""
705 "Special characters lose their status if they are used inside a class "
706 "(between brackets ``[]``). The closing bracket and the dash have a special "
707 "status in a class. Outside the class, the dash is a simple literal, the "
708 "closing bracket remains a meta-character."
709 msgstr ""
710 "تفقد الأحرف الخاصة حالتها إذا تم استخدامها داخل فئة (بين الأقواس ``[]``). "
711 "القوس الإغلاقي والشرطة لهما حالة خاصة في الفئة. خارج الفئة، الشرطة هي حرف "
712 "عادي بسيط، القوس الإغلاقي يظل حرفًا وصفيًا."
713
714 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:307
715 msgid ""
716 "The slash (/) and the number sign (or hash character) (#) are not meta-"
717 "characters, they don’t need to be escaped."
718 msgstr ""
719 "الشرطة المائلة (/) وعلامة الرقم (أو حرف الهاش) (#) ليست أحرفًا وصفية، لا "
720 "تحتاج إلى أن يتم الهروب منها."
721
722 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:310
723 msgid ""
724 "In some tools, like regex101.com with the Python engine, double quotes have "
725 "the special status of separator, and must be escaped, or the options "
726 "changed. This is not the case in the editor of calibre."
727 msgstr ""
728 "في بعض الأدوات، مثل regex101.com مع محرك Python، تتمتع علامات الاقتباس "
729 "المزدوجة بحالة خاصة كفاصل، ويجب الهروب منها، أو تغيير الخيارات. هذا ليس هو "
730 "الحال في محرر calibre."
731
732 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:315
733 msgid "Modes"
734 msgstr "الأوضاع"
735
736 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:317
737 msgid "``(?s)``"
738 msgstr "``(?s)``"
739
740 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:318
741 msgid "Causes the dot (``.``) to match newline characters as well"
742 msgstr "يجعل النقطة (``.``) تطابق أحرف السطر الجديد أيضًا"
743
744 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:320
745 msgid "``(?m)``"
746 msgstr "``(?m)``"
747
748 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:321
749 msgid ""
750 "Makes the ``^`` and ``$`` anchors match the start and end of lines instead "
751 "of the start and end of the entire string."
752 msgstr ""
753 "يجعل علامتي ``^`` و ``$`` تطابقان بداية ونهاية الأسطر بدلاً من بداية ونهاية "
754 "السلسلة بأكملها."