2024-05-31 22:59:00 -04:00
|
|
|
#ifndef RFL_PATTERN_HPP_
|
|
|
|
#define RFL_PATTERN_HPP_
|
|
|
|
|
|
|
|
#include "PatternValidator.hpp"
|
|
|
|
#include "Validator.hpp"
|
|
|
|
|
|
|
|
namespace rfl {
|
|
|
|
|
2024-06-08 14:10:59 -04:00
|
|
|
template <internal::StringLiteral _regex, internal::StringLiteral _name>
|
|
|
|
using Pattern = Validator<std::string, PatternValidator<_regex, _name>>;
|
2024-05-31 22:59:00 -04:00
|
|
|
|
2024-06-08 14:10:59 -04:00
|
|
|
} // namespace rfl
|
2024-05-31 22:59:00 -04:00
|
|
|
|
|
|
|
#endif
|