diff options
author | Ayush Agarwal <ayush@ayushnix.com> | 2024-03-05 20:18:29 +0530 |
---|---|---|
committer | Ayush Agarwal <ayush@ayushnix.com> | 2024-03-05 20:18:29 +0530 |
commit | 75ddd67ec2b71f649584a0c0f06cea7d4a852492 (patch) | |
tree | 4289c46f00aaa4fa07efe8c3da1bdd42d521c06b | |
parent | fba7f80c28a3ad8467a34530a7b3f8a5b016943b (diff) |
fix: relax regex even further
-rwxr-xr-x | tessen | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |