Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Why approximate pattern doesn't match?



On Tue, 10 May 2016 17:21:33 +0200
Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx> wrote:
> Can (#a1) be embedded in parameter? Because it seems to not work. I do:
> 
>     search_pattern="${search_buffer// ##/*~(#a1)^*}"

I rather lost the point of all this right at the start, but the answer
to the question you're asking may be that as "^" is also a negation you
need to put the (#a1) after that, too, not just after the ~.

pws



Messages sorted by: Reverse Date, Date, Thread, Author