# Re: regex compilation error with --color-words

1 messages from 2023-04-06 to 2023-04-06. Participants: Benjamin.
Thread: https://gitlist.dev/t/59555

## Benjamin, 2023-04-06 13:39

Subject: Re: regex compilation error with --color-words
Message-ID: <74D4E05A-FC1F-4AE0-A0BB-7EC381C04501@gmail.com>
URL: https://gitlist.dev/e/74D4E05A-FC1F-4AE0-A0BB-7EC381C04501%40gmail.com

```
This was also discussed in February[1]. Giving --word-diff is to git-diff is enough to trigger the error in non-C locales.

I am pleasantly surprised to learn that LC_ALL=C temporarily avoids the problem; that makes it useable again, for now. But a fix is much welcome!
```
