summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAyush Agarwal <ayush@ayushnix.com>2024-03-05 17:21:25 +0530
committerAyush Agarwal <ayush@ayushnix.com>2024-03-05 17:39:54 +0530
commitc30ddc7bc917ad419c19840072d11557598a6891 (patch)
tree2696e6123ecd9afc18e40d1cd95a794194b9a02e
parentb2ffbb490e3a667009fd335571c963661f44eed8 (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.
-rwxr-xr-xtessen2
1 files changed, 1 insertions, 1 deletions
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