Re: [PATCH] Make words boundary for --color-words configurable
- From
Ping Yin <pkufranky@gmail.com>
- Date
- May 2, 2008, 09:23 UTC
- Message-ID
- <46dff0320805020223g497bee82o7bd21d530df9f6de@mail.gmail.com>
- In-Reply-To
- <20080502081408.GA11420@mithlond.arda.local>
On Fri, May 2, 2008 at 4:14 PM, Teemu Likonen <tlikonen@iki.fi> wrote:
> Johannes Schindelin wrote (2008-05-02 08:45 +0100): >
> In general, my opinion is that with international text it's better to > define word boundary characters than trying to maintain a _huge_ list of > characters used within words in different human languages. >
Agreed, there is no easy way to designate such a huge list of non-ascii characters. Even if we figure out one way, the user may still be scared by such a huge list or the character class syntax.
I think doing this complex both the implementation and the representation.
Instead, if using non word characters, the user only needs specify a small list of characters (ascii or wide character). instead of the nearly whole set.
-- Ping Yin