On Wed, May 7, 2008 at 9:10 PM, Johannes Schindelin
[off-list ref] wrote:
> Sorry, but i can't parse both sentences, especially Bikeshedding and
> "punch holes into".
"punch holes into": find cases where Junio's proposed algorithm breaks
down.
I think the --color-words={char,punct,word} covers most of the cases
that junio mentioned, except the case that a token can be a run of
word chars, a run of non-word chars or a run of whitespaces.
If anyone is interested in this case, he can extend --color-words with
a fourth option or tokenizer (i havn't yet found a good name for this
tokenizer).
Of course, if neccessary, one can implement other language-specific tokenizers.
However, i think the 3 tokenizers i mentioned is enough for most cases.
"bikeshedding": discussing minor implementation details that are not
really interesting at this stage. See also
http://en.wikipedia.org/wiki/Bikeshedding.
See. THX.
--
Ping Yin