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 13:34:25 +0100
Stephane Chazelas <stephane.chazelas@xxxxxxxxx> wrote:
> I don't think many people complained when multi-byte support was
> added and English people were starting to have their [[:alpha:]]
> match on Greek or Korean letters in addition to English ones
> (fair enough as "alpha" means the first letter of the Greek
> alphabet).

It's certainly true that a whole heap of things like this switched to an
extended meaning years ago when multibyte started being enabled.

It wouldn't be ridiculous to change the documentation for this case and
require "unsetopt multibyte" for strict byte-by-byte comparisions, which
is already how it works in the vast majority of other cases.

pws



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