home/test/regression/2711-weird-regex-highlighter-behaviour/rc
Maxime Coste 5c0175d90a Remove peephole regex optimization pass
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 
2019-02-04 22:10:19 +11:00

2 lines
89 B
Plaintext

add-highlighter buffer/ regex ((?<!\.\.)(?<=\.)|(?<=->))[a-zA-Z](\w+)?\b(?![>"\(]) 0:red