Werk #17075: Fix regex error when using global flags when matching multiple expressions
Komponente | Setup | ||||||
Titel | Fix regex error when using global flags when matching multiple expressions | ||||||
Datum | 21.06.2024 | ||||||
Level | Kleine Änderung | ||||||
Klasse | Bugfix | ||||||
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen | ||||||
Checkmk versions & editions |
|
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.