mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Issue #1482: enable PostgreSQL and SQLite libraries by unifying the number of groups in the executed regular expression
This commit is contained in:
@ -2035,14 +2035,14 @@ begin
|
|||||||
rx.Expression := IfThen(AppSettings.ReadBool(asAllProviders), '^', '^(MSOLEDBSQL|SQLOLEDB)');
|
rx.Expression := IfThen(AppSettings.ReadBool(asAllProviders), '^', '^(MSOLEDBSQL|SQLOLEDB)');
|
||||||
ngPgSQL:
|
ngPgSQL:
|
||||||
{$IfDef LINUX}
|
{$IfDef LINUX}
|
||||||
rx.Expression := '^\s*libpq[^=]+=>\s*(\S+)$';
|
rx.Expression := '^\s*(libpq)[^=]+=>\s*(\S+)$';
|
||||||
{$EndIf}
|
{$EndIf}
|
||||||
{$IfDef WINDOWS}
|
{$IfDef WINDOWS}
|
||||||
rx.Expression := '^libpq.*\.' + GetDynLibExtension;
|
rx.Expression := '^libpq.*\.' + GetDynLibExtension;
|
||||||
{$EndIf}
|
{$EndIf}
|
||||||
ngSQLite: begin
|
ngSQLite: begin
|
||||||
{$IfDef LINUX}
|
{$IfDef LINUX}
|
||||||
rx.Expression := '^\s*libsqlite3[^=]+=>\s*(\S+)$';
|
rx.Expression := '^\s*(libsqlite3)[^=]+=>\s*(\S+)$';
|
||||||
{$EndIf}
|
{$EndIf}
|
||||||
{$IfDef WINDOWS}
|
{$IfDef WINDOWS}
|
||||||
if NetType = ntSQLite then
|
if NetType = ntSQLite then
|
||||||
|
Reference in New Issue
Block a user