Werk #14936: logwatch: fix validation for REWRITE state

Component Checks & agents
Title logwatch: fix validation for REWRITE state
Date Oct 10, 2022
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.2.0i1 2.1.0p15 2.0.0p30
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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