Werk #14936: logwatch: fix validation for REWRITE state

Component Checks & agents
Title logwatch: fix validation for REWRITE state
Date Oct 10, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p15 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p30 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The validation fot the REWRITE state in the Text logfiles rule (logwatch plugin) was erroring out when the patterns contained a reference to the previously matched groups.

This werk fixes the issue.

To the list of all Werks