Commit adab54cb authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano

Skip over first character (@) when checking mu names validity

parent 692c2901
......@@ -109,7 +109,7 @@ std::size_t stosz(const std::string& str, std::size_t* pos = 0, int base = 10 )
}
bool is_valid_mu_name(std::string s) {
return std::all_of(s.cbegin(), s.cend(), [](char c){
return std::all_of(++s.cbegin(), s.cend(), [](char c){
return std::isalnum(c) || c == '-' || c == '_' || c == '.';
});
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment