@ -341,14 +341,14 @@ Customizing word diff
You can customize the rules that `git diff --color-words` uses to
You can customize the rules that `git diff --color-words` uses to
split words in a line, by specifying an appropriate regular expression
split words in a line, by specifying an appropriate regular expression
in the "diff.*.wordregex" configuration variable. For example, in TeX
in the "diff.*.wordRegex" configuration variable. For example, in TeX
a backslash followed by a sequence of letters forms a command, but
a backslash followed by a sequence of letters forms a command, but
several such commands can be run together without intervening
several such commands can be run together without intervening
whitespace. To separate them, use a regular expression such as
whitespace. To separate them, use a regular expression such as
------------------------
------------------------
[diff "tex"]
[diff "tex"]
wordregex = "\\\\[a-zA-Z]+|[{}]|\\\\.|[^\\{}[:space:]]+"
wordRegex = "\\\\[a-zA-Z]+|[{}]|\\\\.|[^\\{}[:space:]]+"
------------------------
------------------------
A built-in pattern is provided for all languages listed in the
A built-in pattern is provided for all languages listed in the