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

Re: PATCH: reverse matching (tentative)



On 5/15/07, Peter Stephenson wrote:
   match.  If the option KSH_ARRAYS is in effect, the subscript  is
   still  0 for a failed match; this cannot be distinguished from a
   successful match without testing ${array[0]}  against  the  pat-
   tern.

I have a function in my .zshrc that has to work around exactly that
'feature' - I'd be all for just removing that and having it return a
blank string.

~Matt



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