Werk #11715: Logwatch: Crash when using "\" in regular expression (e.g. windows paths)

Component Checks & agents
Title Logwatch: Crash when using "\" in regular expression (e.g. windows paths)
Date Dec 17, 2020
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0b4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Windows paths include "\" as seperator but regex uses them as escape character. Windows path backslashes need to be escaped to "\\".

To the list of all Werks