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

Re: Why approximate pattern doesn't match?



Moreover, (#a1) is also required after "|" when doing alternative for
"//" substitution:

colsearch_pattern="${search_buffer// ##/|(#a1)}"

What's interesting is that this (doing ${a//(#a1)a|(#a1)b|...}) is
painfully slow when compared to *~^* and :#, it works slower for 25
elements than :# works for 5000.

Best regards,
Sebastian Gniazdowski



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