Werk #19602: Wrong rule condition preview for service name regex ending in \$$
| Component | Setup | ||||||||
| Title | Wrong rule condition preview for service name regex ending in \$$ | ||||||||
| Date | Jun 2, 2026 | ||||||||
| Level | Trivial Change | ||||||||
| Class | Bug Fix | ||||||||
| Compatibility | Compatible - no manual interaction needed | ||||||||
| Checkmk versions & editions |
|
When editing a rule with a service condition using a
regular expression that ends with \$$ (a literal dollar
sign followed by an end anchor), the rule preview displayed
the condition incorrectly. The trailing characters were
stripped from the display, so a pattern like
^Name.*\$$ appeared as Service name is ^Name.*\ instead
of Service name is ^Name.*\$.
Additionally, a regex ending with \$ (an escaped dollar
sign with no end anchor) was incorrectly labeled "is" in the
preview instead of "begins with".
Both display issues are now fixed. The underlying matching behavior was not affected.