From f70ad493a2582f92af5ef9e4be000bd0f26d11b8 Mon Sep 17 00:00:00 2001 From: Blake-Madden <66873089+Blake-Madden@users.noreply.github.com> Date: Sun, 19 Jan 2025 07:59:44 -0500 Subject: [PATCH] Classifier improvements --- src/i18n_review.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n_review.cpp b/src/i18n_review.cpp index 2ac0d6f..0f2ec7a 100644 --- a/src/i18n_review.cpp +++ b/src/i18n_review.cpp @@ -583,7 +583,7 @@ namespace i18n_check std::wregex( LR"((margin[-](top|bottom|left|right)|text[-]indent)[:][[:space:]]*[[:alnum:]%]+;)"), // single hypenphated word that starts lowercase - std::wregex(LR"([a-z][a-z0-9]+\-[a-z0-9]+(\-[a-z0-9]+)*)"), + std::wregex(LR"([a-z][a-z0-9_]*\-[a-z0-9_]+(\-[a-z0-9_]+)*)"), // JS std::wregex(LR"(class[[:space:]]*=[[:space:]]*['"][A-Za-z0-9\- _]*['"])"), // An opening HTML element