# SOME DESCRIPTIVE TITLE. # Copyright (C) Kovid Goyal # This file is distributed under the same license as the calibre package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: calibre 4.99.13\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-09-02 05:23+0000\n" "PO-Revision-Date: 2017-12-15 03:02+0000\n" "Language-Team: Kannada (https://www.transifex.com/calibre/teams/19337/kn/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: kn\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:2 msgid "Quick reference for regexp syntax" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:4 msgid "" "This checklist summarizes the most commonly used/hard to remember parts of " "the regexp engine available in most parts of calibre." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:10 msgid "Contents" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:13 msgid "Character classes" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:15 msgid "" "Character classes are useful to represent different groups of characters, " "succinctly." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:18 msgid "Examples:" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:21 #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:52 #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:253 #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:283 msgid "**Representation**" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:21 #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:52 msgid "**Class**" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:24 msgid "``[a-z]``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:24 msgid "" "Lowercase letters. Does not include characters with accent mark and " "ligatures" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:27 msgid "``[a-z0-9]``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:27 msgid "Lowercase letters from a to z or numbers from 0 to 9" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:30 msgid "``[A-Za-z-]``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:30 msgid "" "Uppercase or lowercase letters, or a dash. To include the dash in a class, " "you must put it at the beginning or at the end so as not to confuse it with " "the hyphen that specifies a range of characters" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:33 msgid "``[^0-9]``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:33 msgid "" "Any character except a digit. The caret (^) placed at the beginning of the " "class excludes the characters of the class (complemented class)" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:36 msgid "``[[a-z]--[aeiouy]]``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:36 msgid "" "The lowercase consonants. A class can be included in a class. The characters" " ``--`` exclude what follows them" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:39 msgid "``[\\w--[\\d_]]``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:39 msgid "" "All letters (including foreign accented characters). Abbreviated classes can" " be used inside a class" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:44 msgid "Example::" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:49 msgid "Shorthand character classes" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:55 msgid "``\\d``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:55 msgid "A digit (same as ``[0-9]``)" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:58 msgid "``\\D``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:58 msgid "Any non-numeric character (same as ``[^0-9]``)" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:61 msgid "``\\w``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:61 msgid "" "An alphanumeric character (``[a-zA-Z0-9]``) including characters with accent" " mark and ligatures" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:64 msgid "``\\W``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:64 msgid "Any “non-word” character" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:67 msgid "``\\s``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:67 msgid "Space, non-breaking space, tab, return line" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:70 msgid "``\\S``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:70 msgid "Any “non-whitespace” character" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:73 msgid "``.``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:73 msgid "" "Any character except newline. Use the “dot all” checkbox or the ``(?s)`` " "regexp modifier to include the newline character." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:78 msgid "The quantifiers" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:81 msgid "**Quantifier**" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:81 msgid "**Number of occurrences of the expression preceding the quantifier**" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:84 msgid "``?``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:84 msgid "0 or 1 occurrence of the expression. Same as ``{0,1}``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:87 msgid "``+``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:87 msgid "1 or more occurrences of the expression. Same as ``{1,}``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:90 msgid "``*``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:90 msgid "0, 1 or more occurrences of the expression. Same as ``{0,}``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:93 msgid "``{n}``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:93 msgid "Exactly n occurrences of the expression" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:96 msgid "``{min,max}``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:96 msgid "Number of occurrences between the minimum and maximum values included" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:99 msgid "``{min,}``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:99 msgid "" "Number of occurrences between the minimum value included and the infinite" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:102 msgid "``{,max}``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:102 msgid "Number of occurrences between 0 and the maximum value included" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:109 msgid "Greed" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:111 msgid "" "By default, with quantifiers, the regular expression engine is greedy: it " "extends the selection as much as possible. This often causes surprises, at " "first. ``?`` follows a quantifier to make it lazy. Avoid putting two in the " "same expression, the result can be unpredictable." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:116 msgid "" "Beware of nesting quantifiers, for example, the pattern ``(a*)*``, as it " "exponentially increases processing time." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:120 msgid "Alternation" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:122 msgid "" "The ``|`` character in a regular expression is a logical ``OR``. It means " "that either the preceding or the following expression can match." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:126 msgid "Exclusion" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:128 msgid "Method 1" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:130 msgid "``pattern_to_exclude(*SKIP)(*FAIL)|pattern_to_select``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:132 msgid "Example:" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:134 msgid "``\"Blabla\"(*SKIP)(*FAIL)|Blabla``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:136 #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:144 msgid "" "selects Blabla, in the strings Blabla or \"Blabla or Blabla\", but not in " "\"Blabla\"." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:138 msgid "Method 2" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:140 msgid "``pattern_to_exclude\\K|(pattern_to_select)``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:142 msgid "``\"Blabla\"\\K|(Blabla)``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:147 msgid "Anchors" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:149 msgid "" "An anchor is a way to match a logical location in a string, rather than a " "character. The most useful anchors for text processing are:" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:155 msgid "``\\b``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:153 msgid "" "Designates a word boundary, i.e. a transition from space to non-space " "character. For example, you can use ``\\bsurd`` to match ``the surd`` but " "not ``absurd``." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:159 msgid "``^``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:158 msgid "Matches the start of a line (in multi-line mode, which is the default)" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:162 msgid "``$``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:162 msgid "Matches the end of a line (in multi-line mode, which is the default)" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:169 msgid "``\\K``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:165 msgid "" "Resets the start position of the selection to its position in the pattern. " "Some regexp engines (but not calibre) do not allow lookbehind of variable " "length, especially with quantifiers. When you can use ``\\K`` with these " "engines, it also allows you to get rid of this limit by writing the " "equivalent of a positive lookbehind of variable length." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:172 msgid "Groups" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:177 msgid "``(expression)``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:175 msgid "" "Capturing group, which stores the selection and can be recalled later in the" " *search* or *replace* patterns with ``\\n``, where ``n`` is the sequence " "number of the capturing group (starting at 1 in reading order)" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:180 msgid "``(?:expression)``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:180 msgid "Group that does not capture the selection" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:186 msgid "``(?>expression)``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:183 msgid "" "Atomic Group: As soon as the expression is satisfied, the regexp engine " "passes, and if the rest of the pattern fails, it will not backtrack to try " "other combinations with the expression. Atomic groups do not capture." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:190 msgid "``(?|expression)``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:189 msgid "" "Branch reset group: the branches of the alternations included in the " "expression share the same group numbers" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:196 msgid "``(?expression)``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:193 msgid "" "Group named “name”. The selection can be recalled later in the *search* " "pattern by ``(?P=name)`` and in the *replace* by ``\\g``. Two " "different groups can use the same name." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:199 msgid "Lookarounds" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:202 msgid "**Lookaround**" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:202 #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:253 msgid "**Meaning**" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:205 msgid "``?=``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:205 msgid "Positive lookahead (to be placed after the selection)" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:208 msgid "``?!``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:208 msgid "Negative lookahead (to be placed after the selection)" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:211 msgid "``?<=``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:211 msgid "Positive lookbehind (to be placed before the selection)" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:214 msgid "``?{}]*[>}])``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:244 msgid "" "Placed at the end of the pattern prevents to select within a tag or a style " "embedded in the file." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:246 msgid "" "Whenever possible, it is always better to \"anchor\" the lookarounds, to " "reduce the number of steps necessary to obtain the result." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:250 msgid "Recursion" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:256 msgid "``(?R)``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:256 msgid "Recursion of the entire pattern" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:259 msgid "``(?1)``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:259 msgid "" "Recursion of the only pattern of the numbered capturing group, here group 1" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:263 msgid "" "Recursion is calling oneself. This is useful for balanced queries, such as " "quoted strings, which can contain embedded quoted strings. Thus, if during " "the processing of a string between double quotation marks, we encounter the " "beginning of a new string between double quotation marks, well we know how " "to do, and we call ourselves. Then we have a pattern like::" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:271 msgid "" "To select a string between double quotation marks without stopping on an " "embedded string::" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:275 msgid "" "This template can also be used to modify pairs of tags that can be embedded," " such as ``
`` tags." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:280 msgid "Special characters" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:283 msgid "**Character**" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:286 msgid "``\\t``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:286 msgid "tabulation" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:289 msgid "``\\n``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:289 msgid "line break" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:292 msgid "``\\x20``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:292 msgid "(breakable) space" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:295 msgid "``\\xa0``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:295 msgid "no-break space" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:300 msgid "Meta-characters" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:302 msgid "" "Meta-characters are those that have a special meaning for the regexp engine." " Of these, twelve must be preceded by an escape character, the backslash " "(``\\``), to lose their special meaning and become a regular character " "again::" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:308 msgid "" "Seven other meta-characters do not need to be preceded by a backslash (but " "can be without any other consequence)::" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:314 msgid "" "Special characters lose their status if they are used inside a class " "(between brackets ``[]``). The closing bracket and the dash have a special " "status in a class. Outside the class, the dash is a simple literal, the " "closing bracket remains a meta-character." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:319 msgid "" "The slash (/) and the number sign (or hash character) (#) are not meta-" "characters, they don’t need to be escaped." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:322 msgid "" "In some tools, like regex101.com with the Python engine, double quotes have " "the special status of separator, and must be escaped, or the options " "changed. This is not the case in the editor of calibre." msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:327 msgid "Modes" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:330 msgid "``(?s)``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:330 msgid "Causes the dot (``.``) to match newline characters as well" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:333 msgid "``(?m)``" msgstr "" #: ../../home/runner/work/calibre/calibre/manual/regexp_quick_reference.rst:333 msgid "" "Makes the ``^`` and ``$`` anchors match the start and end of lines instead " "of the start and end of the entire string." msgstr ""