From ceef2a077aeab228c949a05739df1fafa1c1f829 Mon Sep 17 00:00:00 2001 From: Kharchenko Maksym <93820798+KharchenkoMaks@users.noreply.github.com> Date: Fri, 22 May 2026 19:18:02 +0300 Subject: [PATCH] fix: regex in replaceFileContent for StyleGuideCheck --- files/configureFiles.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/configureFiles.pl b/files/configureFiles.pl index df39cec..1589713 100644 --- a/files/configureFiles.pl +++ b/files/configureFiles.pl @@ -56,8 +56,8 @@ sub configureUserAndCustomDictionaries system("mv $serverPath/CustDictConfig.xml $cust_dict_conf"); } - replaceFileContent({ '[\s]*?[\w\\\/:]*?<\/DirectoryPath>[\s]*?<\/StyleGuideCheck>' => - "\n\t\t$style_guide_path\n\t" }, $server_config_path); + replaceFileContent({ '[\s]*?[\w\\\/:]*?<\/DirectoryPath>' => + "\n\t\t$style_guide_path" }, $server_config_path); for my $file (<$serverPath/CustomDictionaries/*.txt>) {