Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] [[:blank:]] only matches on SPC and TAB
- X-seq: zsh-workers 42765
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] [[:blank:]] only matches on SPC and TAB
- Date: Mon, 14 May 2018 04:27:46 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=jxZDvwOsAHntRA2vsmcdK+9vwfzjdbdeNe4VZeViNHo=; b=jnk1gp0AG8vBEjbHMZzMcsu+WPX6lbeFlqycj6HaSZqcciWN5jNCJ2sBU9Bxegd4Ho KVCDLicouinwPju3td6olEGElWIwvOeFPrJKUcBD58Q7z9qt6sXVvUTon1g6jjW93gMu gx7aGrILeKBUECh3FbwzMP7WRoKjdeAOiPXbK2Wsms3ZV9VKj12ARk/mnhOzOxArAor/ T4hFWB/D6a1W6ujSjejMEKS/OHFDj2U9Hk9YrUMTPbl9GjxFuiYDDxDV1ctMI9vfsumt dzjjVTBlHBd51UNxhMm/ab5JK0JTJ/PNPmzrJdz3H5MS4MCyJnN0f7obDBbe7rAx18yZ RzmQ==
- In-reply-to: <20180513212553.GA29028@chaz.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20180513212553.GA29028@chaz.gmail.com>
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