[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: :alnum: broken?

From: Paul Eggert
Subject: Re: :alnum: broken?
Date: Sat, 22 Feb 2020 13:28:58 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 2/21/20 11:48 PM, Eli Zaretskii wrote:
"[:space:]" is a valid, though peculiar, character class

Yes, but point of my suggestion was to suggest that we change Emacs to make it not a valid character class. In practice it would be a win to change Emacs in this way, since the aggravation of the current approach (which regularly bites people as this thread illustrates) far outweighs the aggravation of making classes like "[:space:]" invalid when they're intended (which they're invariably not).

A similar change went into GNU grep a decade ago, and in practice it's been a win. It would also be a win with Emacs.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]