match_results

Last-modified: 2007-05-31 (木) 00:37:13

match_resultsは正規表現による検索、マッチングの結果を格納する。

match_results(const match_results& m)

match_results& operator=(const match_results& m)

size_type size() const

size_type max_size() const

bool empty() const

difference_type length(int sub = 0) const

difference_type position(unsigned int sub = 0) const

string_type str(int sub = 0) const

const_reference operator[](int sub) const

const_reference prefix() const

const_iterator begin() const

const_iterator end() const

template <class OutputIterator> OutputIterator format(OutputIterator out, const string_type& fmt, match_flag_type flags = format_default) const

string_type format(const string_type& fmt, match_flag_type flags = format_default) const

template <class OutputIterator, class RegexT> OutputIterator format(OutputIterator out, const string_type& fmt, match_flag_type flags, const RegexT& re) const

allocator_type get_allocator() const

void swap(match_results& that)

bool operator==(const match_results& that)const

bool operator!=(const match_results& that)const

const capture_sequence_type& captures(int i)const

void BOOST_REGEX_CALL set_second(BidiIterator i)

void BOOST_REGEX_CALL set_second(BidiIterator i, size_type pos, bool m = true)

void BOOST_REGEX_CALL set_size(size_type n, BidiIterator i, BidiIterator j)

void BOOST_REGEX_CALL set_base(BidiIterator pos)

BidiIterator base()const

void BOOST_REGEX_CALL set_first(BidiIterator i)

void BOOST_REGEX_CALL set_first(BidiIterator i, size_type pos)

void BOOST_REGEX_CALL maybe_assign(const match_results<BidiIterator, Allocator>& m)