diakonos
diakonos copied to clipboard
Greedy Regex Highlighting [bug]
I saw this in Java code, but I suspect it may exist in other languages.
The regex highligher sometimes seems to greedily highlight things which are not regexes. In particular, if two successive strings each contain slashes in the wrong places, then they will be interpreted as a regex in the middle of a single string, with quotes inside it.
This isn't too frustrating, and I'm not sure if its easy to fix, but would be nice.
Thank you for adding python docstrings!
@ikrase I realize this is a super old issue, but could you furnish me with some example code which demonstrates the problem? That is, assuming you even use Diakonos any more.