fix regex
This commit is contained in:
@@ -13,7 +13,7 @@ function select_option {
|
||||
local clean_opt
|
||||
for opt; do
|
||||
multiselected+=(0)
|
||||
if [[ "$opt" =~ ^\[.\]* ]]; then # choice starts with [x]
|
||||
if [[ "$opt" =~ ^\[.\] ]]; then # choice starts with [x]
|
||||
shortcuts+=( "${opt:1:1}" )
|
||||
choices+=( "${opt:3}" )
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user