Bash script for copying and autotyping data from password-store, gopass or prs.

fix: relax regex even further

+2 -2
+2 -2
tessen
··· 8 8 # ------------------------------------------------------------------------------ 9 9 10 10 # don't leak password data if debug mode is enabled 11 - set +x 11 + #set +x 12 12 13 13 # GLOBAL VARIABLES 14 14 declare _PASS_BACKEND _DMENU_BACKEND _TSN_ACTION _TSN_CONFIG ··· 623 623 parse_config() { 624 624 local line idx key val 625 625 local -a config_arr 626 - local config_regex='^[[:alpha:]_]+="[[:alnum:]~_./^$|()[],*-]+"$' 626 + local config_regex='^[[:alpha:]_]+=[[:print:]]+' 627 627 # in case the user hasn't provided an explicit location, we'll have to check 628 628 # if the default file exists before we parse it 629 629 if [[ -s $_TSN_CONFIG ]]; then