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

Re: Feature request: #a (approximate matching) only for spaces



On Feb 20, 11:16am, Bart Schaefer wrote:
}
} All that was really necessary was to add (@) after +${ but note that any
} pattern characters in $INPUT will become active again in the subscript.

Oh, to prevent that change that same (@) to (b@):

"(${(j:|:)~${i::=1}+${(b@)${:-$INPUT"${(@)^${(s::)INPUT}/?/}"}:s/(#b)(#s)(?(#c$[i++]))/${match[1]}*}})*"



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