Модуль:Поиск шаблона страницы: различия между версиями

мНет описания правки
Нет описания правки
Строка 13: Строка 13:


     local cleanedContent = content:gsub("{{#invoke:Поиск строк страницы|main|[^}]+}}", "")
     local cleanedContent = content:gsub("{{#invoke:Поиск строк страницы|main|[^}]+}}", "")
     local cleanedContent = content:gsub("<code>[^}]+</code>", "")
     cleanedContent = cleanedContent:gsub("<code>[^<]+</code>", "")


     if not cleanedContent:match(searchText) then
     if not cleanedContent:match(searchText) then