I'm experiencing a consistent problem with ChkTeX on my macOS system and am looking for solutions. The issue occurs every time I run ChkTeX. I get the following warning:
> chktex main.tex
ChkTeX v1.7.8 - Copyright 1995-96 Jens T. Berger Thielemann.
Compiled with POSIX extended regex support.
chktex: WARNING -- Compilation of regular expression \[(?![^\]\[{}]*{(?![^\]\[{}]*}))[^\]]*\[ failed with error repetition-operator operand invalid.
No errors printed; No warnings printed; No user suppressed warnings; No line suppressed warnings.
This problem arises regardless of the LaTeX document, even with simpler ones. Strangely, this issue prevents Visual Studio Code from parsing the ChkTeX output correctly. Any advice on how to fix this would be greatly appreciated.