Visual Studio Code TextMate match pattern with maximum possible length first
I am writing a TextMate grammar for a syntax highlighting extension in VS Code, and I discovered that if I define match rules for constants, it matches them multiple times in a row. More specifically, I want to define various match rules that contain sequences of letters, but I want each of them to consider the longest possible sequence of consecutive letters before looking for a match. Is there any way to achieve this behavior?