Werk #22790: Rule search: survive invalid host regex
| Component | Setup | ||
| Title | Rule search: survive invalid host regex | ||
| Date | Oct 19, 2026 | ||
| Level | Trivial Change | ||
| Class | Bug Fix | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
If a rule had an explicit host condition with an invalid regular
expression, for example ~*foo, searching rules by host in the
rule search crashed with error: nothing to repeat at position 0.
The search now shows a warning that links to the affected rule, as it already did for invalid regular expressions in service conditions and in the full text search, and continues with the other rules.