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

fix: allow specifying more chars in the config

At this point, this script feels like a giant hack but considering how
the project allows specifying regexes in the config, might as well allow
specifying characters in the POSIX BRE at the very least.

+1 -1
+1 -1
tessen
··· 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:]_]+="[[:alnum:]~_./^$|()[],*-]+"$' 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