Bug #19173
Updated by Nicolas CHARLES over 3 years ago
executing command <pre> sed -i 's#next if .*issuer_cn.*Let.*Encrypt.*#next if ($info->{\x27issuer_o\x27} !~ /Let\x27s\s\\\s+Encrypt/i);#g' </pre> breaks reporting, as it is seen as missing, and there is an unexpected reports with same value but a \ less Error is around the \\\s Missing report is <pre> \s\\\sEncryp </pre> and unexpected is <pre> \s\\sEncryp </pre> It's because the evaluation of the command replaces \\ by \, resulting in a bad report h3. Workaround Note that using the generic method @File replace lines@ with parameters: <pre> Line: (\s+next if \(\$info->){'issuer_cn'}( !~ \/Let's\\\\s\\+Encrypt\/i\);) Replacement: ${match.1}{'issuer_cn'}${match.2} </pre> works as expected.