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 c158bda commit 4b9a5f1Copy full SHA for 4b9a5f1
src/App.js
@@ -80,9 +80,9 @@ const Editor = () => {
80
if (data.value && data.value !== formData.value) {
81
const pemKey = data.pemKey;
82
const values = {};
83
- if (data.value.match(/^([\w_\d]+)=(.+)$/im)) {
+ if (data.value.match(/^([\w_-\d]+)=(.+)$/im)) {
84
data.value.split("\n").forEach((row) => {
85
- const matches = row.match(/^([\w_\d]+)=(.*)$/i);
+ const matches = row.match(/^([\w_-\d]+)=(.*)$/i);
86
if (matches) {
87
values[matches[1]] = matches[2];
88
}
0 commit comments