Re: [PATCH v3 4/6] --color-words: Make non-word characters configurable
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 4, 2008, 06:45 UTC
- Message-ID
- <7vk5iar2it.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <1209874815-14411-5-git-send-email-pkufranky@gmail.com>
Ping Yin <pkufranky@gmail.com> writes:
Show 6 quoted lines
> A more sensible implementation is to use 'insert' instead of 'replace'. > Say, to insert a line break between runs of word characters and non-word > characters or between non-word characters. > > That is, "foo>=bar" will be rewritten as "foo\n>\n=\nbar" instead of > "foo\n\nbar".
Hmmmm.
I am not sure if/why you would want a separator between '>' and '=' in that example. Shouldn't that be "foo <sep> >= <sep> bar"?