JetBrains / ideolog

Interactive viewer for '.log' files.
MIT License
251 stars 54 forks source link

Fix extraction from last group #173

Closed ArtemKar123 closed 5 months ago

ArtemKar123 commented 6 months ago

Description

Previously, if the line had N groups and Time/Severity/Category capture group was set to N, it would be parsed as null due to the tokens.size > idx + 1 check.

Note

It might not be a bug if we intentionally parse last token exclusively as message, thus making it mandatory.