Test for phone number.
More...
#include <stdex/parser.hpp>
|
|
| basic_phone_number (const std::shared_ptr< basic_parser< T > > &digit, const std::shared_ptr< basic_parser< T > > &plus_sign, const std::shared_ptr< basic_set< T > > &lparenthesis, const std::shared_ptr< basic_set< T > > &rparenthesis, const std::shared_ptr< basic_parser< T > > &separator, const std::shared_ptr< basic_parser< T > > &space, 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) |
| |
| virtual void | invalidate () |
| |
|
| 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) |
| |
|
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)=0 |
| |
|
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 () |
| |
|
|
std::basic_string< T > | value |
| | Normalized phone number.
|
| |
|
interval< size_t > | interval |
| | Region of the last match.
|
| |
template<class T>
class stdex::parser::basic_phone_number< T >
Test for phone number.
◆ invalidate()
◆ match()
template<class T >
| virtual bool stdex::parser::basic_phone_number< T >::match |
( |
_In_reads_or_z_(end) const T * |
text, |
|
|
size_t |
start = 0, |
|
|
size_t |
end = (size_t)-1, |
|
|
int |
flags = match_default |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following file: