Regex Search

Regex search accepts patterns that run in time linear in the length of the log message: character classes, quantifiers, anchors, alternation, and groups all work as usual.

Lookaround ((?=…), (?!…)) and backreferences (\1) are rejected by default. They cannot be matched in linear time, and on a large log message a single entry can occupy the server for tens of seconds — enough for one search to make journex unresponsive. Setting JOURNEX_UNSAFE_REGEX=1 enables them if you need them and trust everyone who can log in.