mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-17 09:19:38 -06:00
Update DotenvFormat.cpp
This commit is contained in:
@@ -9,7 +9,7 @@ bool DotenvFormat::readEnvFile(QIODevice &device, QSettings::SettingsMap &map)
|
||||
|
||||
QString line;
|
||||
|
||||
QRegularExpression keyValueRegex("^\\s*([\\w\\.\\-\\@]+)\\s*=\\s*(.*)\\s*$");
|
||||
QRegularExpression keyValueRegex("^\\s*([^=]+)\\s*=\\s*(.*)\\s*$");
|
||||
|
||||
while (in.readLineInto(&line)) {
|
||||
QRegularExpressionMatch match = keyValueRegex.match(line);
|
||||
|
||||
Reference in New Issue
Block a user