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

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



On Mon, 14 May 2018 07:44:31 +0100
Stephane Chazelas <stephane.chazelas@xxxxxxxxx> wrote:
> Tue Oct 13 21:42:47 1998  Andrew Main  <zefram@xxxxxxx>
> 
>         * Doc/Zsh/expn.yo, Src/glob.c: Add the [:blank:] character
> class required by POSIX, which has no corresponding ctype macro.
> 
> Which explains why it's not using isblank() and strongly
> suggests that it was not intentional.

I think that's correct, but I tend to agree with Sebastian that some
caution is required here since it's not necessarily clear what action
with non-ASCII spaces is actually wanted when this is used.  I'd be
surprised if it actually broke anything, though.

pws



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