diff options
author | Ayush Agarwal <ayush@ayushnix.com> | 2024-03-05 17:21:25 +0530 |
---|---|---|
committer | Ayush Agarwal <ayush@ayushnix.com> | 2024-03-05 17:39:54 +0530 |
commit | c30ddc7bc917ad419c19840072d11557598a6891 (patch) | |
tree | 2696e6123ecd9afc18e40d1cd95a794194b9a02e /tessen | |
parent | b2ffbb490e3a667009fd335571c963661f44eed8 (diff) |
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.
Diffstat (limited to 'tessen')
-rwxr-xr-x | tessen | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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:]_]+="[[:alnum:]~_./^$|()[],*-]+"$' # 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 |