# SOME DESCRIPTIVE TITLE. # Copyright (C) Kovid Goyal # This file is distributed under the same license as the calibre package. # FIRST AUTHOR , YEAR. # # Translators: # Alex Kroll , 2018 # Родион Р., 2026 # Anton Bershanskiy , 2026 # ashed , 2026 # Andrei Stepanov, 2026 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: calibre 9.13.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-08-26 16:50+0000\n" "PO-Revision-Date: 2017-12-15 03:02+0000\n" "Last-Translator: Andrei Stepanov, 2026\n" "Language-Team: Russian (https://app.transifex.com/calibre/teams/19337/ru/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ru\n" "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:2 msgid "Quick reference for regexp syntax" msgstr "Краткая справка о синтаксисе регулярных выражений" #: ../../../__w/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 "" "В этот список помещены наиболее используемые / трудные для запоминания части" " движка регулярных выражений, доступные в calibre почти везде." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:10 msgid "Contents" msgstr "Содержание" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:13 msgid "Character classes" msgstr "Классы символов" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:15 msgid "" "Character classes are useful to represent different groups of characters, " "succinctly." msgstr "" "Классы символов полезны для краткого представления различных групп символов." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:18 msgid "Examples:" msgstr "Примеры:" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:21 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:52 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:241 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:271 msgid "**Representation**" msgstr "**Обозначение**" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:21 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:52 msgid "**Class**" msgstr "**Класс**" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:24 msgid "``[a-z]``" msgstr "``[а-я]``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:24 msgid "" "Lowercase letters. Does not include characters with accent mark and " "ligatures" msgstr "Строчные буквы. Не включает символы с ударением и лигатурами." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:27 msgid "``[a-z0-9]``" msgstr "``[а-я0-9]``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:27 msgid "Lowercase letters from a to z or numbers from 0 to 9" msgstr "Строчные буквы от а до я а также цифры от 0 до 9." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:29 msgid "``[A-Za-z-]``" msgstr "``[А-Яа-я-]``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:29 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 "" "Заглавные, строчные буквы, а также тире. Чтобы включить тире в классе, вы " "должны поместить его в начале или в конце, чтобы не путать его с дефисом, " "который обозначает диапазон символов." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:33 msgid "``[^0-9]``" msgstr "``[^0-9]``" #: ../../../__w/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 "" "Любые символы, кроме цифр. Каретка (^), помещенная в начале класса, " "исключает символы класса (дополненный класс)." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:36 msgid "``[[a-z]--[aeiouy]]``" msgstr "``[[a-z]--[aeiouy]]`` ``[[а-я]--[аеёиоуыэюя]]``" #: ../../../__w/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 "" "Строчные согласные. Класс может быть включен в класс. Символы ``--`` " "исключают то, что следует за ними" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:39 msgid "``[\\w--[\\d_]]``" msgstr "``[\\w--[\\d_]]``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:39 msgid "" "All letters (including foreign accented characters). Abbreviated classes can" " be used inside a class" msgstr "" "Все буквы (включая иностранные акцентированные символы). Сокращенные классы " "могут использоваться внутри класса" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:44 msgid "Example::" msgstr "Пример::" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:49 msgid "Shorthand character classes" msgstr "Сокращенные классы символов" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:55 msgid "``\\d``" msgstr "\"\\d\"" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:55 msgid "A digit (same as ``[0-9]``)" msgstr "Цифра (то же, что и ``[0-9]``)" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:57 msgid "``\\D``" msgstr "``\\D``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:57 msgid "Any non-numeric character (same as ``[^0-9]``)" msgstr "Любой нецифовой символ (то же, что и ``[^0-9]``)" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:59 msgid "``\\w``" msgstr "``\\w``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:59 msgid "" "An alphanumeric character (``[a-zA-Z0-9]``) including characters with accent" " mark and ligatures" msgstr "" "Буквенно-цифровой символ (``[a-zA-Z0-9]``), включая символы с меткой " "ударения и лигатуры" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:62 msgid "``\\W``" msgstr "``\\W``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:62 msgid "Any “non-word” character" msgstr "Любой “non-word” («несловесный») символ" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:64 msgid "``\\s``" msgstr "``\\s``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:64 msgid "Space, non-breaking space, tab, carriage return" msgstr "" "Space (пробел), non-breaking space (неразрывный пробел), tab (табуляция), " "carriage return (возврат каретки)" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:66 msgid "``\\S``" msgstr "``\\S``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:66 msgid "Any “non-whitespace” character" msgstr "Любой символ «без пробелов»" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:68 msgid "``.``" msgstr "``.``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:68 msgid "" "Any character except newline. Use the “dot all” checkbox or the ``(?s)`` " "regexp modifier to include the newline character." msgstr "" "Любой символ кроме новой строки. Используйте флажок «dot all» или " "модификатор regexp ``(?s)``, чтобы включить символ новой строки." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:73 msgid "The quantifiers" msgstr "Квантификаторы" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:76 msgid "**Quantifier**" msgstr "**Квантификатор**" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:76 msgid "**Number of occurrences of the expression preceding the quantifier**" msgstr "**Количество вхождений выражения, предшествующего квантификатору**" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:79 msgid "``?``" msgstr "``?``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:79 msgid "0 or 1 occurrence of the expression. Same as ``{0,1}``" msgstr "0 или 1 повторение регулярного выражения. Эквивалентно ``{0,1}``." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:81 msgid "``+``" msgstr "``+``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:81 msgid "1 or more occurrences of the expression. Same as ``{1,}``" msgstr "" "Одно или более повторение регулярного выражения. Эквивалентно ``{1,}``." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:83 msgid "``*``" msgstr "``*``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:83 msgid "0, 1 or more occurrences of the expression. Same as ``{0,}``" msgstr "" "Любое - 0, 1 или более - количество повторений регулярного выражения. " "Эквивалентно ``{0,}``." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:85 msgid "``{n}``" msgstr "``{n}``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:85 msgid "Exactly n occurrences of the expression" msgstr "Ровно n повторений регулярного выражения." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:87 msgid "``{min,max}``" msgstr "``{min,max}``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:87 msgid "Number of occurrences between the minimum and maximum values included" msgstr "" "Количество повторений регулярного выражения, не менее min раз и не более max" " раз." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:89 msgid "``{min,}``" msgstr "``{min,}``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:89 msgid "Number of occurrences between the minimum value included and infinity" msgstr "" "Количество вхождений между включенным минимальным значением и бесконечностью" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:91 msgid "``{,max}``" msgstr "``{,max}``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:91 msgid "Number of occurrences between 0 and the maximum value included" msgstr "Количество вхождений между 0 и включенным максимальным значением" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:97 msgid "Greed" msgstr "Жадность" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:99 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 "" "По умолчанию в квантификаторах механизм регулярных выражений является " "жадным: он максимально расширяет выбор. Поначалу это часто вызывает " "сюрпризы. ``? `` следует за квантификатором, чтобы сделать его ленивым. " "Старайтесь не ставить два в одном выражении, результат может быть " "непредсказуемым." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:104 msgid "" "Beware of nesting quantifiers, for example, the pattern ``(a*)*``, as it " "exponentially increases processing time." msgstr "" "Остерегайтесь вложенных квантификаторов, напр., шаблона ``(a*)*``, поскольку" " он экспоненциально увеличивает время обработки." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:108 msgid "Alternation" msgstr "Перечисление" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:110 msgid "" "The ``|`` character in a regular expression is a logical ``OR``. It means " "that either the preceding or the following expression can match." msgstr "" "Символ ``|`` в регулярном выражении соответствует логическому ``ИЛИ`` " "(``OR``). Т. е. могут совпадать либо предыдущее, либо последующее выражения." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:114 msgid "Exclusion" msgstr "Исключение" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:116 msgid "Method 1" msgstr "Метод 1" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:118 msgid "``pattern_to_exclude(*SKIP)(*FAIL)|pattern_to_select``" msgstr "``шаблон_исключения(*SKIP)(*FAIL)|шаблон_для_поиска``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:120 msgid "Example:" msgstr "Пример:" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:122 msgid "``\"Blabla\"(*SKIP)(*FAIL)|Blabla``" msgstr "``\"Blabla\"(*SKIP)(*FAIL)|Blabla``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:124 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:132 msgid "" "selects Blabla, in the strings Blabla or \"Blabla or Blabla\", but not in " "\"Blabla\"." msgstr "" "выбирает Blabla, в строках Blabla или «Blabla или Blabla», но не в «Blabla»." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:126 msgid "Method 2" msgstr "Метод 2" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:128 msgid "``pattern_to_exclude\\K|(pattern_to_select)``" msgstr "``шаблон_для_исключения\\K|(шаблон_для_отбора)``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:130 msgid "``\"Blabla\"\\K|(Blabla)``" msgstr "``\"Blabla\"\\K|(Blabla)``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:135 msgid "Anchors" msgstr "Якоря" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:137 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 "" "Якорь - это способ сопоставления логического расположения в строке, а не " "символа. Наиболее полезными якорями для обработки текста являются:" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:140 msgid "``\\b``" msgstr "``\\b``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:141 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 "" "Обозначает границу слова, то есть переход от пробела к непропробельному " "символу. Напр., вы можете использовать ``\\bsurd`` для сопоставления с " "``surd``, но не ``absurd``." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:145 msgid "``^``" msgstr "``^``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:146 msgid "Matches the start of a line (in multi-line mode, which is the default)" msgstr "" "Соответствует началу строки (в многострочном режиме, который используется по" " умолчанию)" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:149 msgid "``$``" msgstr "``$``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:150 msgid "Matches the end of a line (in multi-line mode, which is the default)" msgstr "" "Соответствует концу строки (в многострочном режиме, который используется по " "умолчанию)" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:152 msgid "``\\K``" msgstr "``\\K``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:153 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 "" "Сбрасывает начальную позицию выделения в его позицию в шаблоне. Некоторые " "движки регулярных выражений (но не calibre) не позволяют просматривать " "данные переменной длины, особенно с квантификаторами. Когда вы можете " "использовать ``\\K`` с этими движками, это также позволяет вам избавиться от" " этого предела, написав эквивалент положительного взгляда позади длины " "переменной." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:160 msgid "Groups" msgstr "Группы" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:162 msgid "``(expression)``" msgstr "``(выражение)``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:163 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 "" "Группа захвата, которая хранит выбор и может быть вызвана позже в шаблонах " "*search* или *replace* на ``\\n``, где `` n`` - порядковый номер группы " "захвата (начиная с 1 в порядке чтения)" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:167 msgid "``(?:expression)``" msgstr "``(?:выражение)``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:168 msgid "Group that does not capture the selection" msgstr "Группа, которая не захватывает выбор" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:170 msgid "``(?>expression)``" msgstr "``(?>expression)``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:171 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 "" "Атомная группа: как только выражение удовлетворено, обработчик регулярных " "выражений проходит, и если остальная часть шаблона завершится неудачно, он " "не будет возвращаться, чтобы попробовать другие комбинации с выражением. " "Атомные группы не захватывают." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:176 msgid "``(?|expression)``" msgstr "``(?|expression)``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:177 msgid "" "Branch reset group: the branches of the alternations included in the " "expression share the same group numbers" msgstr "" "Группа сброса ветвей: ветви чередований, включенные в выражение, имеют " "одинаковые номера групп" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:180 msgid "``(?expression)``" msgstr "``(?expression)``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:181 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 "" "Группа под названием «имя». Выбор может быть вызван позже в шаблоне *search*" " с помощью ``(?P=name)`` и в *replace* на ``\\g``. Две разные группы " "могут использовать одно и то же имя." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:187 msgid "Lookarounds" msgstr "Взгляды по сторонам" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:190 msgid "**Lookaround**" msgstr "**Взгляд по сторонам**" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:190 #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:241 msgid "**Meaning**" msgstr "**Смысл**" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:193 msgid "``?=``" msgstr "``?=``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:193 msgid "Positive lookahead (to be placed after the selection)" msgstr "Позитивный lookahead (взгляд вперёд) (будет размещен после выделения)" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:196 msgid "``?!``" msgstr "``?!``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:196 msgid "Negative lookahead (to be placed after the selection)" msgstr "Негативный lookahead (взгляд вперёд) (ставится после выделения)" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:199 msgid "``?<=``" msgstr "``?<=``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:199 msgid "Positive lookbehind (to be placed before the selection)" msgstr "Позитивный lookbehind (взгляд назад) (ставится перед выделением)" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:202 msgid "``?{}]*[>}])``" msgstr "``(?![^<>{}]*[>}])``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:232 msgid "" "Placed at the end of the pattern prevents selecting within a tag or a style " "embedded in the file." msgstr "" "Размещение в конце шаблона предотвращает выбор внутри тега или стиля, " "встроенного в файл." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:234 msgid "" "Whenever possible, it is always better to \"anchor\" the lookarounds, to " "reduce the number of steps necessary to obtain the result." msgstr "" "Когда бы ни было возможно, всегда лучше «закрепить» обходные пути, чтобы " "уменьшить количество шагов, необходимых для получения результата." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:238 msgid "Recursion" msgstr "Рекурсия" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:244 msgid "``(?R)``" msgstr "``(?R)``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:244 msgid "Recursion of the entire pattern" msgstr "Рекурсия всего шаблона" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:247 msgid "``(?1)``" msgstr "``(?1)``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:247 msgid "" "Recursion of the only pattern of the numbered capturing group, here group 1" msgstr "" "Рекурсия единственного шаблона нумерованной группы захвата, здесь группа 1" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:251 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 "" "Рекурсия вызывает себя. Это полезно для сбалансированных запросов, таких как" " строки в кавычках, которые могут содержать встроенные строки в кавычках. " "Таким образом, если во время обработки строки между двойными кавычками мы " "сталкиваемся с началом новой строки между двойными кавычками, мы хорошо " "знаем, как это сделать, и мы вызываем себя. Тогда у нас есть шаблон, вроде::" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:259 msgid "" "To select a string between double quotation marks without stopping on an " "embedded string::" msgstr "" "Чтобы выбрать строку между двойными кавычками, не останавливаясь на " "встроенной строке::" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:263 msgid "" "This template can also be used to modify pairs of tags that can be embedded," " such as ``
`` tags." msgstr "" "Этот шаблон также можно использовать для изменения пар тегов, которые могут " "быть встроены, таких как теги ``
``." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:268 msgid "Special characters" msgstr "Специальные символы" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:271 msgid "**Character**" msgstr "**Символ**" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:274 msgid "``\\t``" msgstr "``\\t``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:274 msgid "tabulation" msgstr "табуляция" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:277 msgid "``\\n``" msgstr "``\\n``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:277 msgid "line break" msgstr "Разрыв строки" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:280 msgid "``\\x20``" msgstr "``\\x20``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:280 msgid "(breakable) space" msgstr "(разрываемый) пробел" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:283 msgid "``\\xa0``" msgstr "``\\xa0``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:283 msgid "no-break space" msgstr "неразрываемый пробел" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:288 msgid "Meta-characters" msgstr "Мета-символы" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:290 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 "" "Мета-символы - это те, которые имеют особое значение для движка регулярных " "выражений. Из них двенадцати должен предшествовать escape-символ, обратная " "косая черта (``\\``), чтобы потерять свое особое значение и снова стать " "обычным символом::" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:296 msgid "" "Seven other meta-characters do not need to be preceded by a backslash (but " "can be without any other consequence)::" msgstr "" "Семи другим метасимволам не обязательно должен предшествовать обратный слеш " "(но он может быть без каких-либо других последствий):" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:302 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 "" "Специальные символы теряют свой статус, если они используются внутри класса " "(между скобками ``[]``). Закрывающая скобка и тире имеют особый статус в " "классе. Вне класса тире - это простой литерал, закрывающая скобка остается " "метасимволом." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:307 msgid "" "The slash (/) and the number sign (or hash character) (#) are not meta-" "characters, they don’t need to be escaped." msgstr "" "Косая черта (/) и знак числа (или хэш-символ) (#) не являются метасимволами," " их не нужно экранировать." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:310 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 "" "В некоторых инструментах, таких как regex101.com с движком Python, двойные " "кавычки имеют специальный статус разделителя и должны быть экранированы, " "либо параметры изменены. Это не так в редакторе calibre." #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:315 msgid "Modes" msgstr "Режимы" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:317 msgid "``(?s)``" msgstr "``(?s)``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:318 msgid "Causes the dot (``.``) to match newline characters as well" msgstr "Заставляет точку (``.``) совпадать с символами новой строки" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:320 msgid "``(?m)``" msgstr "``(?m)``" #: ../../../__w/calibre/calibre/manual/regexp_quick_reference.rst:321 msgid "" "Makes the ``^`` and ``$`` anchors match the start and end of lines instead " "of the start and end of the entire string." msgstr "" "Заставляет якоря ``^`` и ``$`` соответствовать началу и концу строк вместо " "начала и конца всей строки."