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

Re: [PATCH] explicitly mention ${name:/pat/repl}



Bart Schaefer wrote on Tue, Nov 08, 2016 at 10:10:43 -0800:
> -The first `tt(/)' may be preceded by a `tt(:)', in which case the match
> -will only succeed if it matches the entire word.  Note also the
> +If tt(${)var(name)tt(}) expands to an array value, the replacements act
> +on each element individually.  Quoting may affect this.  Note also the

"Quoting may affect this"?  This leaves me wondering what the effect is
and under what circumstances it happens.

I assume this has to do with the «"${(@)foo}"» syntax?

>  effect of the tt(I) and tt(S) parameter expansion flags below; however,
>  the flags tt(M), tt(R), tt(B), tt(E) and tt(N) are not useful.
>  
> 



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