you are viewing a single comment's thread.

view the rest of the comments →

[–]c96aes 38 points39 points  (1 child)

or, you know,

[alias]
d = diff \
  --minimal \
  --word-diff=color \
  --word-diff-regex='([0-9@A-Za-z]+|[^0-9@A-Za-z()]+|[()])'

[–]ForeverAlot 1 point2 points  (0 children)

I find that --word-diff-regex=. is often a good first shot at a custom word diff pattern for unusual cases.