Learn more about the latest product updates at the Checkmk Conference #12 – live from June 16-17! Watch here

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
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p6 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p32 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.3.0p49
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

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.

To the list of all Werks