Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 57635975ffcedde69da93ff86a3316725c6fd52d
https://github.com/Checkmk/checkmk/commit/57635975ffcedde69da93ff86a3316725…
Author: Moritz Kirschner <moritz.kirschner(a)checkmk.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
A .werks/17075.md
M cmk/utils/regex.py
M cmk/utils/rulesets/ruleset_matcher.py
M cmk/utils/rulesets/tuple_rulesets.py
A tests/unit/cmk/utils/test_regex.py
Log Message:
-----------
17075 Fix regex when combining multiple expressions using global flags
There are a few places where we concatenate multiple regular expressions
to save performance. This concatenation broke when expressions using
global flags such as "(?i)cpu" were concatenated. With this werk, we are
converting these global flags to local ones for that specific expression
which restores the expected behavior of the expression, fixing various
crashes that would occur for example when updating or activating
changes.
SUP-17283
Change-Id: Ib2719ce6bc7676388bc81a6e8fe95465f32d2ef2
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications