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

RE: PATCH: fix for (#s) and (#e) in param substs



> This wasn't as bad as it could have been.  Things like
>
> ${foo//(#s)d*time(#e)/d fight/}
>
> are all now supposed to work.  One thing I like about this is
> it allows you
> to forget about not only anchor characters in / and //, but
> even ## and %%,
> and with the (S) parameter flag # and % too --- the /-forms
> together with
> the start and end assertions present a single consistent interface for
> pattern substitutions.
>

Just a question - is there any speed penalty in using / instead of # or
%?

-andrej



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