From 75ddd67ec2b71f649584a0c0f06cea7d4a852492 Mon Sep 17 00:00:00 2001 From: Ayush Agarwal Date: Tue, 5 Mar 2024 20:18:29 +0530 Subject: fix: relax regex even further --- tessen | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tessen b/tessen index 0e6542c..c22c7f2 100755 --- 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 -- cgit v1.2.3