You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
neroshop/src/core/tools/regex.hpp

19 lines
339 B

#pragma once
#include <iostream>
#include <regex>
#include <string>
namespace neroshop {
namespace string_tools {
bool is_email(const std::string& email);
bool is_strong_password(const std::string& password);
bool is_valid_username(const std::string& username);
bool is_product_code(const std::string& code);
}
}