commit 75ddd67ec2b71f649584a0c0f06cea7d4a852492
parent fba7f80c28a3ad8467a34530a7b3f8a5b016943b
Author: Ayush Agarwal <ayush@ayushnix.com>
Date: Tue, 5 Mar 2024 20:18:29 +0530
fix: relax regex even further
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tessen b/tessen
@@ -8,7 +8,7 @@
# ------------------------------------------------------------------------------
# don't leak password data if debug mode is enabled
-set +x
+#set +x
# GLOBAL VARIABLES
declare _PASS_BACKEND _DMENU_BACKEND _TSN_ACTION _TSN_CONFIG
@@ -623,7 +623,7 @@ https://github.com/ayushnix/tessen
parse_config() {
local line idx key val
local -a config_arr
- local config_regex='^[[:alpha:]_]+="[[:alnum:]~_./^$|()[],*-]+"$'
+ local config_regex='^[[:alpha:]_]+=[[:print:]]+'
# in case the user hasn't provided an explicit location, we'll have to check
# if the default file exists before we parse it
if [[ -s $_TSN_CONFIG ]]; then