We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7833bf1 commit b7ae795Copy full SHA for b7ae795
src/models/variables.js
@@ -23,7 +23,7 @@ const {GObject} = imports.gi;
23
const {FlatpakSharedModel} = imports.models.shared;
24
const {FlatsealOverrideStatus} = imports.models.overrideStatus;
25
26
-var VAR_REGEXP = /^\w+=[\S ]+$/;
+var VAR_REGEXP = /^[^;\s]+=[\S ]+$/;
27
28
var FlatpakVariablesModel = GObject.registerClass({
29
GTypeName: 'FlatpakVariablesModel',
@@ -75,7 +75,7 @@ var FlatpakVariablesModel = GObject.registerClass({
75
76
static deserialize(value) {
77
return value
78
- .split(/(?=;[\w\s]+=)/)
+ .split(/(?=;[^;]+=)/)
79
.map(v => v.replace(/^;/, ''));
80
}
81
0 commit comments