Werk #18987: Fix crash in global rule search when rule contains invalid regex
| Component | Setup | ||||||||
| Title | Fix crash in global rule search when rule contains invalid regex | ||||||||
| Date | Mar 10, 2026 | ||||||||
| Level | Trivial Change | ||||||||
| Class | Bug Fix | ||||||||
| Compatibility | Compatible - no manual interaction needed | ||||||||
| Checkmk versions & editions |
|
Rule search previously crashed when encountering a rule with an invalid regular expression, resulting in no search results and no indication of the cause. Now, if an invalid regular expression is detected, a warning is displayed that identifies the offending rule and ruleset, including direct links to each, and the search continues with the remaining rules.
When you see a warning about an invalid regular expression, please review and edit the indicated rule to correct the regex. This ensures that future searches will include all relevant results.