Re: [PATCH 2/2] diff --word-diff: use non-whitespace regex by default
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Jan 11, 2012, 20:05 UTC
- Message-ID
- <87lipexawp.fsf@thomas.inf.ethz.ch>
- In-Reply-To
- <1326302702-4536-2-git-send-email-rctay89@gmail.com>
Tay Ray Chuan <rctay89@gmail.com> writes:
> Factor out the comprehensive non-whitespace regex in use by PATTERNS and > IPATTERN and use it as the word-diff regex for the default diff driver.
Why?
I seem to recall that the motivation for keeping the original code as-is instead of just emulating its behavior with a default regex was that it is faster. So disabling the default mode should at least have an advantage?
</devils-advocate>
--
Thomas Rast
trast@{inf,student}.ethz.ch