From 9715376f5ace982632bd64c20aef2d057eb67b4f Mon Sep 17 00:00:00 2001 From: webbrain-one <295484252+webbrain-one@users.noreply.github.com> Date: Tue, 11 Aug 2026 06:20:32 +0300 Subject: [PATCH] Fix version regex for PostgreSQL distributions Update the version search pattern to correctly match PostgreSQL distribution formats like 17.2-4.1C. The previous regex failed to parse the hyphen and alphanumeric suffix, preventing automatic downloads. Fixes #69 --- ...20\273\320\276\320\266\320\265\320\275\320\270\321\217.json" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/src/\320\234\320\260\320\272\320\265\321\202\321\213/\320\240\320\265\321\201\321\203\321\200\321\201\321\213\320\237\321\200\320\270\320\273\320\276\320\266\320\265\320\275\320\270\321\217.json" "b/src/\320\234\320\260\320\272\320\265\321\202\321\213/\320\240\320\265\321\201\321\203\321\200\321\201\321\213\320\237\321\200\320\270\320\273\320\276\320\266\320\265\320\275\320\270\321\217.json" index 8380ecf..3421807 100644 --- "a/src/\320\234\320\260\320\272\320\265\321\202\321\213/\320\240\320\265\321\201\321\203\321\200\321\201\321\213\320\237\321\200\320\270\320\273\320\276\320\266\320\265\320\275\320\270\321\217.json" +++ "b/src/\320\234\320\260\320\272\320\265\321\202\321\213/\320\240\320\265\321\201\321\203\321\200\321\201\321\213\320\237\321\200\320\270\320\273\320\276\320\266\320\265\320\275\320\270\321\217.json" @@ -7,7 +7,7 @@ "ШаблонПоискаСтрокиРегистрации" : ".*?<\\/tr>", "ШаблонПоискаКонфигураций" : "(.*?)<\\/a>.*?(.*?)<\\/a>.*.*?.*?(\\d(?:\\d|\\.)*)", + "ШаблонПоискаКонфигурацийСВерсиями" : "(.*?)<\\/a>.*.*?.*?([\\d\\.A-Za-z\\-]+)", "ШаблонПоискаКолонокБетаВерсий" : ".*?<\\/td>(.*?)(.*?)<\\/td>", "ШаблонПоискаСсылокБетаВерсий" : ".*?<\\/a>", "ШаблонПоискаДатБетаВерсий" : "(\\d\\d\\.\\d\\d\\.\\d\\d)+",