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