Skip to content

Commit

Permalink
Classifier improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden committed Jan 19, 2025
1 parent c69210b commit f70ad49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/i18n_review.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f70ad49

Please sign in to comment.