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

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



On 13 May 2018 at 23:25, Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
wrote:

> I noticed that [[:blank:]] was not matching on non-ASCII blank
> characters. In a typical UTF-8 GNU locale, [[:blank:]] normally
> includes
>

Let's be conservative. [[:blank:]] matches 2 characters, [[:space:]]
matches Unicode ones that you want to add. We have a choice. Existing code
that was written with ascii [[:blank:]] in mind. Something might break. I'm
currently coding a new plugin and literally have chosen [[:blank:]] because
it's not unicode spaces. Such platform-like things shouldn't change this
way.

-- 
Best regards,
Sebastian Gniazdowski


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