JetBrains / ideolog

Interactive viewer for '.log' files.
MIT License
254 stars 55 forks source link

Log highlighting with the regexp doesn't work #179

Open 0lgaM opened 7 months ago

0lgaM commented 7 months ago

Hi, we received the following feedback from a user who asked us to submit a bug report as they don't have an opportunity to do it themselves.

I want to highlight the date part of a log file line like this:

[2024-01-08 21:14:32] production.INFO

with this regex: \[(.+\d)\]

But it does nothing in the Editor, not with selected highlight field / match / line and selected background color of 20A0AA.

I tried it with an online regex validator and it works there.

I know this highlighting worked occasionally in the last few years, but most times, it did not, and I also did not put in the effort to address this.