mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-26 21:22:00 +03:00
5c0175d90a
The current implementation is wrong as it crosses basic blocks boundaries. Doing basic block decomposition of regex is probably a tad too complex for this single optimization. Fixes #2711
2 lines
89 B
Plaintext
2 lines
89 B
Plaintext
add-highlighter buffer/ regex ((?<!\.\.)(?<=\.)|(?<=->))[a-zA-Z](\w+)?\b(?![>"\(]) 0:red
|