File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ __gradle-generate-tasks-cache() {
101
101
local gradle_all_tasks="" root_tasks="" subproject_tasks="" output_line
102
102
local -a match
103
103
for output_line in ${(f)"$(printf "%s\n" "${gradle_tasks_output[@]}")"}; do
104
- if [[ $output_line =~ ^([[:lower :]][[:alnum:][:punct:]]*)([[:space:]]-[[:space:]]([[:print:]]*))? ]]; then
104
+ if [[ $output_line =~ ^([[:alpha :]][[:alnum:][:punct:]]*)([[:space:]]-[[:space:]]([[:print:]]*))? ]]; then
105
105
local task_name="${match[1]}"
106
106
local task_description="${match[3]}"
107
107
# Completion for subproject tasks with ':' prefix
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ __gradle-generate-tasks-cache() {
289
289
local -a root_tasks=()
290
290
local -a subproject_tasks=()
291
291
for output_line in ${gradle_tasks_output} ; do
292
- if [[ " $output_line " =~ ^([[:lower :]][[:alnum:][:punct:]]* )([[:space:]]-[[:space:]]([[:print:]]* ))? ]]; then
292
+ if [[ " $output_line " =~ ^([[:alpha :]][[:alnum:][:punct:]]* )([[:space:]]-[[:space:]]([[:print:]]* ))? ]]; then
293
293
task_name=" ${BASH_REMATCH[1]} "
294
294
task_description=" ${BASH_REMATCH[3]} "
295
295
gradle_all_tasks+=( " $task_name - $task_description " )
You can’t perform that action at this time.
0 commit comments