Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Completion: audit 'compset -P' calls to use shortest match where applicable, plus random drive-by tweaks.
- X-seq: zsh-workers 39740
- From: "Jun T." <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] Completion: audit 'compset -P' calls to use shortest match where applicable, plus random drive-by tweaks.
- Date: Fri, 28 Oct 2016 00:00:51 +0900
- In-reply-to: <20161027124805.GA29157@fujitsu.shahaf.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1475084797-17029-1-git-send-email-danielsh@fujitsu.shahaf.local2> <64326837-5810-4AD1-A4BA-CE8487BF1F39@kba.biglobe.ne.jp> <20161027124805.GA29157@fujitsu.shahaf.local2>
2016/10/27 21:48, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> Thanks for the report; is this better?
>
> - if compset -P '[0-9]##'; then
> + if compset -P '(-|+|)[0-9]##'; then
OK, so you wanted to exclude illegal sequences like a12.
Yes, the new path works fine for me.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author