From ed3c62941e04c9c6d0a647f0e778f466d9048ab8 Mon Sep 17 00:00:00 2001 From: Felix Lohmeier Date: Mon, 12 Apr 2021 22:23:05 +0200 Subject: [PATCH] Funktionsbezeichnungen auch mit :: leeren --- bibliotheca/config/main/3000-3010.json | 4 ++-- bibliotheca/config/main/3110.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bibliotheca/config/main/3000-3010.json b/bibliotheca/config/main/3000-3010.json index 9dca934..dd257b6 100644 --- a/bibliotheca/config/main/3000-3010.json +++ b/bibliotheca/config/main/3000-3010.json @@ -369,11 +369,11 @@ "mode": "row-based" }, "columnName": "tmp", - "expression": "grel:forEach(value.split('␟'),v,v.replace(/\\s¬?\\[.*/,'')).join('␟')", + "expression": "grel:forEach(value.split('␟'),v,v.replace(/\\s(¬?|::)\\[.*/,'')).join('␟')", "onError": "keep-original", "repeat": false, "repeatCount": 10, - "description": "Text transform on cells in column tmp using expression grel:forEach(value.split('␟'),v,v.replace(/\\s¬?\\[.*/,'')).join('␟')" + "description": "Text transform on cells in column tmp using expression grel:forEach(value.split('␟'),v,v.replace(/\\s(¬?|::)\\[.*/,'')).join('␟')" }, { "op": "core/column-addition", diff --git a/bibliotheca/config/main/3110.json b/bibliotheca/config/main/3110.json index c247e98..658dfed 100644 --- a/bibliotheca/config/main/3110.json +++ b/bibliotheca/config/main/3110.json @@ -59,11 +59,11 @@ "mode": "row-based" }, "columnName": "3110", - "expression": "grel:forEach(value.split('␟'),v,v.replace(/\\s¬?\\[.*/,'')).join('␟')", + "expression": "grel:forEach(value.split('␟'),v,v.replace(/\\s(¬?|::)\\[.*/,'')).join('␟')", "onError": "keep-original", "repeat": false, "repeatCount": 10, - "description": "Text transform on cells in column 3110 using expression grel:forEach(value.split('␟'),v,v.replace(/\\s¬?\\[.*/,'')).join('␟')" + "description": "Text transform on cells in column 3110 using expression grel:forEach(value.split('␟'),v,v.replace(/\\s(¬?|::)\\[.*/,'')).join('␟')" }, { "op": "core/text-transform",