summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAyush Agarwal <ayush@ayushnix.com>2024-03-05 20:18:29 +0530
committerAyush Agarwal <ayush@ayushnix.com>2024-03-05 20:18:29 +0530
commit75ddd67ec2b71f649584a0c0f06cea7d4a852492 (patch)
tree4289c46f00aaa4fa07efe8c3da1bdd42d521c06b
parentfba7f80c28a3ad8467a34530a7b3f8a5b016943b (diff)
fix: relax regex even further
-rwxr-xr-xtessen4
1 files 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