ignore_plugin, cleanup + docs

This commit is contained in:
Jokob-sk
2023-09-10 08:41:46 +10:00
parent b7417a07ad
commit 148f3198ce
13 changed files with 158 additions and 210 deletions

View File

@@ -153,13 +153,13 @@ function processColumnValue(dbColumnDef, value, index, type) {
for (const option of dbColumnDef.options) {
if (option.type === type) {
console.log(value)
const regexPattern = new RegExp(option.param);
const match = value.match(regexPattern);
if (match) {
// Return the first match
value = match[0];
console.log(value)
}
}
}