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

Re: [PATCH] [[:blank:]] only matches on SPC and TAB



Stephane Chazelas wrote:
> In that v3 patch, I've added iswblank() in the list of functions
> to check before enabling "unicode support". Maybe we should do
> like for isblank() so that we can still have unicode support if
> iswalpha()... are present but not iswblank() (and have
> iswblank() check for spc and tab only then).
>
> OK, I'll send a v4 patch tonight.

I've pushed the v4 patch. Thanks

Checking symbol versions in libc on Solaris confirms that iswblank was
added much later than others such as iswspace – only a well patched
Solaris 10 will have it while the others are in Solaris 9 and perhaps
earlier. Whether anyone still builds zsh on a system that lacks it is
harder to tell.

Oliver



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