Re: [PATCH take 3 0/4] color-words improvements
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Jan 14, 2009, 19:58 UTC
- Message-ID
- <200901142059.09005.trast@student.ethz.ch>
- In-Reply-To
- <87ljtdk9b3.fsf@iki.fi>
Teemu Likonen wrote:
> -aaa (aaa) > +aaa (aaa) aaa
Bug aside, examples like this one make me wonder if we should force a "last resort" match for `[^[:space:]]`. For example,
-aaa [aaa]
+aaa (aaa) aaawould still give you
aaa (aaa)<GREEN> aaa<RESET>
which may be unexpected.
Of course, when diffing a language where something other than the "usual" whitespace should be ignored, this behaviour would be useful.
--
Thomas Rast
trast@{inf,student}.ethz.ch