Skip to content

Commit

Permalink
fix: Поправлены шаблоны регулярок.
Browse files Browse the repository at this point in the history
  • Loading branch information
arkuznetsov committed May 24, 2022
1 parent cbb8e44 commit 0b37dba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Классы/ОбозревательСайта1С.os
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@

ШаблонПоискаКонфигураций = "<td class=""nameColumn""><a href=""(.*)"">(.*)<\/a>.*"
+ "<td class=""versionColumn actualVersionColumn"">"
+ "<a href="".*nick=(.*)&ver=.*(\d(?:\d|\.)*)"">.*"
+ "<a href="".*nick=(.*)&ver=(\d(?:\d|\.)*)"">.*"
+ "?<td class=""releaseDate"">.*?(\d(?:\d|\.)*)";

ШаблонПоискаВерсий = "<td class=""versionColumn"">\s*<a href=""(.*)"">\s*(.*)\s*<\/a>(\s|.)*?"
Expand All @@ -790,7 +790,7 @@
ШаблонПоискаАдресаСтраницыЗагрузки = "<div class=""formLine"">\s*<a href=""(.*)"">\s*(.*)\s*<\/a>(\s|.)*?<\/div>";

ШаблонПоискаСсылкиДляЗагрузки = "<div class=""downloadDist"">(\s|.)*?<a href=""(.*)"">\s*"
+ "Скачать дистрибутив\s*<\/a>(\s|.)*?<\/div>";
+ "Завантажити дистрибутив\s*<\/a>(\s|.)*?<\/div>";

ШаблонПоискаПутиКФайлуВАдресе = "\?.*path=(.+)(?:\z|&)";

Expand Down

0 comments on commit 0b37dba

Please sign in to comment.