stdex
Additional custom or not Standard C++ covered algorithms
|
Test for repeating. More...
#include <stdex/parser.hpp>
Public Member Functions | |
basic_iterations (const std::shared_ptr< basic_tester< T > > &el, size_t min_iterations=0, size_t max_iterations=(size_t) -1, bool greedy=true) | |
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_tester (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 () |
Protected Attributes | |
std::shared_ptr< basic_tester< T > > | m_el |
repeating element | |
size_t | m_min_iterations |
minimum number of iterations | |
size_t | m_max_iterations |
maximum number of iterations | |
bool | m_greedy |
try to match as long sequence as possible | |
![]() | |
const std::locale & | m_locale |
Additional Inherited Members | |
![]() | |
interval< size_t > | interval |
Test for interval. | |
Test for repeating.
|
inlinevirtual |
Implements stdex::parser::basic_tester< T >.