Skip to content

Commit

Permalink
fix(aptitude): do not use non-POSIX BRE \w
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Oct 3, 2023
1 parent cb7007a commit cd8c870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/aptitude
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ _comp_cmd_aptitude()
--target-release | --default-release | -${noargopts}t)
COMPREPLY=($(apt-cache policy |
command grep "release.o=Debian,a=$cur" |
command sed -e "s/.*a=\(\w*\).*/\1/" | uniq 2>/dev/null))
command sed -e "s/.*a=\([_[:alnum:]]*\).*/\1/" | uniq 2>/dev/null))
return
;;
esac
Expand Down

0 comments on commit cd8c870

Please sign in to comment.