-
I found in the documentation that it is possible to tell the highlighter to highlight only the matching pattern. For example I want to highlight the text "/+/29594" in the line: So I have composed the pattern : "/+/\d{5} " I tried to enclose the pattern in square brackets : [/+/\d{5} ] but in this case it highlight multiple lines instead. In most cases I want to highlight the entire lines. In some particular cases I want to highlight a particular number. So I expect to tell the highlighter this information in the pattern itself or with a checkbox. The only checkbox I found is Ignore case. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, I've made a small video demo: only_match_1.mp4There is a checkbox in highlighter configuration to enable this mode. When enabled, if regular expression has no explicit capture groups then the whole matching part of lines should be highlighted. If there are explicit capture groups then only parts that are in these groups should be highlighted |
Beta Was this translation helpful? Give feedback.
Hi, I've made a small video demo:
only_match_1.mp4
There is a checkbox in highlighter configuration to enable this mode. When enabled, if regular expression has no explicit capture groups then the whole matching part of lines should be highlighted. If there are explicit capture groups then only parts that are in these groups should be highlighted