Skip to content

Commit

Permalink
fix: change re_patterns name to upper case according to file names (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
hffqyd authored Feb 21, 2024
1 parent ace5419 commit e07668a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mosestokenizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ std::string perluniprops_chars(const std::string & category) {
}

namespace re_patterns {
std::string isAlnum = perluniprops_chars("isAlnum");
std::string isAlpha = perluniprops_chars("isAlpha");
std::string isLower = perluniprops_chars("isLower");
std::string isN = perluniprops_chars("isN");
std::string isSc = perluniprops_chars("isSc");
std::string isAlnum = perluniprops_chars("IsAlnum");
std::string isAlpha = perluniprops_chars("IsAlpha");
std::string isLower = perluniprops_chars("IsLower");
std::string isN = perluniprops_chars("IsN");
std::string isSc = perluniprops_chars("IsSc");

std::regex DEDUPLICATE_SPACE("\\s+");
std::regex ASCII_JUNK ("[\\x00-\\x1F]");
Expand Down Expand Up @@ -501,4 +501,4 @@ int run_unit_tests() {
unit_test(str3, tok3);

return 0;
}
}

0 comments on commit e07668a

Please sign in to comment.