Do not quote ini values with error constants

This commit is contained in:
Shivam Mathur
2021-02-04 13:01:05 +05:30
parent ecc8611061
commit 1686147b24
3 changed files with 5 additions and 2 deletions

2
dist/index.js vendored
View File

@ -1285,7 +1285,7 @@ async function CSVArray(values_csv) {
return value
.trim()
.replace(/^["']|["']$|(?<==)["']/g, '')
.replace(/=(.*[?{}|&~![()^]+.*)/, "='$1'");
.replace(/=(((?!E_).)*[?{}|&~![()^]+((?!E_).)+)/, "='$1'");
})
.filter(Boolean);
}