klogg
klogg copied to clipboard
Allow to configure capture mode for highlighters
For expressions like aaa.*(bbb|ccc) klogg assumes, that user wants to see only captured part highlighted. For regular highlighters that should be configurable and main match highlight should always highlight full match
In aaa.*(bbb|ccc)|ddd, ddd is also not highlighted.
In
aaa.*(bbb|ccc)|ddd,dddis also not highlighted.
This is expected. Only capture groups are highlighted if they are present. Here there is a capture group (bbb|ccc), and ddd is not captured