From c30ddc7bc917ad419c19840072d11557598a6891 Mon Sep 17 00:00:00 2001 From: Ayush Agarwal Date: Tue, 5 Mar 2024 17:21:25 +0530 Subject: 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. --- tessen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tessen') diff --git a/tessen b/tessen index 81a7d8b..1837bda 100755 --- a/tessen +++ b/tessen @@ -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 -- cgit v1.2.3