stdex
Additional custom or not Standard C++ covered algorithms
|
Test for valid DNS domain character. More...
#include <stdex/parser.hpp>
Public Member Functions | |
basic_dns_domain_char (bool allow_idn, const std::locale &locale=std::locale()) | |
virtual bool | match (_In_reads_or_z_(end) const T *text, size_t start=0, size_t end=(size_t) -1, int flags=match_default) |
![]() | |
basic_parser (const std::locale &locale=std::locale()) | |
bool | search (_In_reads_or_z_(end) const T *text, size_t start=0, size_t end=(size_t) -1, int flags=match_default) |
template<class _Traits , class _Ax > | |
bool | match (const std::basic_string< T, _Traits, _Ax > &text, size_t start=0, size_t end=(size_t) -1, int flags=match_default) |
virtual void | invalidate () |
Public Attributes | |
bool | allow_on_edge |
Is character allowed at the beginning or an end of a DNS domain? | |
![]() | |
interval< size_t > | interval |
Region of the last match. | |
Protected Attributes | |
bool | m_allow_idn |
![]() | |
std::locale | m_locale |
Test for valid DNS domain character.
|
inlinevirtual |
Implements stdex::parser::basic_parser< T >.