Regular Expressions


Detailed Description

A facility for performing regular expression pattern matching.

Namespaces

Classes

Typedefs

Functions


Function Documentation

template<typename _Bi_iter, class _Allocator>
bool std::tr1::operator!= ( const match_results< _Bi_iter, _Allocator > &  __m1,
const match_results< _Bi_iter, _Allocator > &  __m2 
) [inline]

Todo:
Implement this function.

template<typename _Bi_iter>
bool std::tr1::operator!= ( const sub_match< _Bi_iter > &  __lhs,
typename iterator_traits< _Bi_iter >::value_type const &  __rhs 
) [inline]

Tests the inequivalence of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A const string reference.
Returns:
true if lhs is not equivalent to rhs, false otherwise.

Definition at line 1549 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter>
bool std::tr1::operator!= ( typename iterator_traits< _Bi_iter >::value_type const &  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the inequivalence of a string and a regular expression submatch.

Parameters:
lhs A string.
rhs A regular expression submatch.
Returns:
true if lhs is not equivalent to rhs, false otherwise.

Definition at line 1475 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter>
bool std::tr1::operator!= ( const sub_match< _Bi_iter > &  __lhs,
typename iterator_traits< _Bi_iter >::value_type const *  __rhs 
) [inline]

Tests the inequivalence of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A pointer to a string.
Returns:
true if lhs is not equivalent to rhs, false otherwise.

Definition at line 1401 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter>
bool std::tr1::operator!= ( typename iterator_traits< _Bi_iter >::value_type const *  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the inequivalence of an iterator value and a regular expression submatch.

Parameters:
lhs A regular expression submatch.
rhs A string.
Returns:
true if lhs is not equivalent to rhs, false otherwise.

Definition at line 1327 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter, typename _Ch_traits, typename _Ch_alloc>
bool std::tr1::operator!= ( const sub_match< _Bi_iter > &  __lhs,
const basic_string< typename iterator_traits< _Bi_iter >::value_type, _Ch_traits, _Ch_alloc > &  __rhs 
) [inline]

Tests the inequivalence of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A string.
Returns:
true if lhs is not equivalent to rhs, false otherwise.

Definition at line 1243 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter, typename _Ch_traits, typename _Ch_alloc>
bool std::tr1::operator!= ( const basic_string< typename iterator_traits< _Bi_iter >::value_type, _Ch_traits, _Ch_alloc > &  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the inequivalence of a string and a regular expression submatch.

Parameters:
lhs A string.
rhs A regular expression submatch.
Returns:
true if lhs is not equivalent to rhs, false otherwise.

Definition at line 1162 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _BiIter>
bool std::tr1::operator!= ( const sub_match< _BiIter > &  __lhs,
const sub_match< _BiIter > &  __rhs 
) [inline]

Tests the inequivalence of two regular expression submatches.

Parameters:
lhs First regular expression submatch.
rhs Second regular expression submatch.
Returns:
true if lhs is not equivalent to rhs, false otherwise.

Definition at line 1086 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::compare().

template<typename _Bi_iter>
bool std::tr1::operator< ( const sub_match< _Bi_iter > &  __lhs,
typename iterator_traits< _Bi_iter >::value_type const &  __rhs 
) [inline]

Tests the ordering of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A const string reference.
Returns:
true if lhs preceeds rhs, false otherwise.

Definition at line 1561 of file tr1/regex.

template<typename _Bi_iter>
bool std::tr1::operator< ( typename iterator_traits< _Bi_iter >::value_type const &  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the ordering of a string and a regular expression submatch.

Parameters:
lhs A string.
rhs A regular expression submatch.
Returns:
true if lhs precedes rhs, false otherwise.

Definition at line 1487 of file tr1/regex.

template<typename _Bi_iter>
bool std::tr1::operator< ( const sub_match< _Bi_iter > &  __lhs,
typename iterator_traits< _Bi_iter >::value_type const *  __rhs 
) [inline]

Tests the ordering of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A string.
Returns:
true if lhs precedes rhs, false otherwise.

Definition at line 1413 of file tr1/regex.

template<typename _Bi_iter>
bool std::tr1::operator< ( typename iterator_traits< _Bi_iter >::value_type const *  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the ordering of a string and a regular expression submatch.

Parameters:
lhs A string.
rhs A regular expression submatch.
Returns:
true if lhs precedes rhs, false otherwise.

Definition at line 1339 of file tr1/regex.

template<typename _Bi_iter, class _Ch_traits, class _Ch_alloc>
bool std::tr1::operator< ( const sub_match< _Bi_iter > &  __lhs,
const basic_string< typename iterator_traits< _Bi_iter >::value_type, _Ch_traits, _Ch_alloc > &  __rhs 
) [inline]

Tests the ordering of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A string.
Returns:
true if lhs precedes rhs, false otherwise.

Definition at line 1257 of file tr1/regex.

template<typename _Bi_iter, typename _Ch_traits, typename _Ch_alloc>
bool std::tr1::operator< ( const basic_string< typename iterator_traits< _Bi_iter >::value_type, _Ch_traits, _Ch_alloc > &  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the ordering of a string and a regular expression submatch.

Parameters:
lhs A string.
rhs A regular expression submatch.
Returns:
true if lhs precedes rhs, false otherwise.

Definition at line 1175 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _BiIter>
bool std::tr1::operator< ( const sub_match< _BiIter > &  __lhs,
const sub_match< _BiIter > &  __rhs 
) [inline]

Tests the ordering of two regular expression submatches.

Parameters:
lhs First regular expression submatch.
rhs Second regular expression submatch.
Returns:
true if lhs precedes rhs, false otherwise.

Definition at line 1098 of file tr1/regex.

template<typename _Ch_type, typename _Ch_traits, typename _Bi_iter>
basic_ostream<_Ch_type, _Ch_traits>& std::tr1::operator<< ( basic_ostream< _Ch_type, _Ch_traits > &  __os,
const sub_match< _Bi_iter > &  __m 
) [inline]

Inserts a matched string into an output stream.

Parameters:
os The output stream.
m A submatch string.
Returns:
the output stream with the submatch string inserted.

Definition at line 1612 of file tr1/regex.

template<typename _Bi_iter>
bool std::tr1::operator<= ( const sub_match< _Bi_iter > &  __lhs,
typename iterator_traits< _Bi_iter >::value_type const &  __rhs 
) [inline]

Tests the ordering of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A const string reference.
Returns:
true if lhs does not succeed rhs, false otherwise.

Definition at line 1597 of file tr1/regex.

template<typename _Bi_iter>
bool std::tr1::operator<= ( typename iterator_traits< _Bi_iter >::value_type const &  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the ordering of a string and a regular expression submatch.

Parameters:
lhs A string.
rhs A regular expression submatch.
Returns:
true if lhs does not succeed rhs, false otherwise.

Definition at line 1523 of file tr1/regex.

template<typename _Bi_iter>
bool std::tr1::operator<= ( const sub_match< _Bi_iter > &  __lhs,
typename iterator_traits< _Bi_iter >::value_type const *  __rhs 
) [inline]

Tests the ordering of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A string.
Returns:
true if lhs does not succeed rhs, false otherwise.

Definition at line 1449 of file tr1/regex.

template<typename _Bi_iter>
bool std::tr1::operator<= ( typename iterator_traits< _Bi_iter >::value_type const *  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the ordering of a string and a regular expression submatch.

Parameters:
lhs A string.
rhs A regular expression submatch.
Returns:
true if lhs does not succeed rhs, false otherwise.

Definition at line 1375 of file tr1/regex.

template<typename _Bi_iter, class _Ch_traits, class _Ch_alloc>
bool std::tr1::operator<= ( const sub_match< _Bi_iter > &  __lhs,
const basic_string< typename iterator_traits< _Bi_iter >::value_type, _Ch_traits, _Ch_alloc > &  __rhs 
) [inline]

Tests the ordering of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A string.
Returns:
true if lhs does not succeed rhs, false otherwise.

Definition at line 1299 of file tr1/regex.

template<typename _Bi_iter, typename _Ch_traits, typename _Ch_alloc>
bool std::tr1::operator<= ( const basic_string< typename iterator_traits< _Bi_iter >::value_type, _Ch_traits, _Ch_alloc > &  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the ordering of a string and a regular expression submatch.

Parameters:
lhs A string.
rhs A regular expression submatch.
Returns:
true if lhs does not succeed rhs, false otherwise.

Definition at line 1214 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _BiIter>
bool std::tr1::operator<= ( const sub_match< _BiIter > &  __lhs,
const sub_match< _BiIter > &  __rhs 
) [inline]

Tests the ordering of two regular expression submatches.

Parameters:
lhs First regular expression submatch.
rhs Second regular expression submatch.
Returns:
true if lhs does not succeed rhs, false otherwise.

Definition at line 1110 of file tr1/regex.

template<typename _Bi_iter, typename _Allocator>
bool std::tr1::operator== ( const match_results< _Bi_iter, _Allocator > &  __m1,
const match_results< _Bi_iter, _Allocator > &  __m2 
) [inline]

Todo:
Implement this function.

template<typename _Bi_iter>
bool std::tr1::operator== ( const sub_match< _Bi_iter > &  __lhs,
typename iterator_traits< _Bi_iter >::value_type const &  __rhs 
) [inline]

Tests the equivalence of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A const string reference.
Returns:
true if lhs is equivalent to rhs, false otherwise.

Definition at line 1536 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter>
bool std::tr1::operator== ( typename iterator_traits< _Bi_iter >::value_type const &  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the equivalence of a string and a regular expression submatch.

Parameters:
lhs A string.
rhs A regular expression submatch.
Returns:
true if lhs is equivalent to rhs, false otherwise.

Definition at line 1462 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter>
bool std::tr1::operator== ( const sub_match< _Bi_iter > &  __lhs,
typename iterator_traits< _Bi_iter >::value_type const *  __rhs 
) [inline]

Tests the equivalence of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A pointer to a string?
Returns:
true if lhs is equivalent to rhs, false otherwise.

Definition at line 1388 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter>
bool std::tr1::operator== ( typename iterator_traits< _Bi_iter >::value_type const *  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the equivalence of a C string and a regular expression submatch.

Parameters:
lhs A C string.
rhs A regular expression submatch.
Returns:
true if lhs is equivalent to rhs, false otherwise.

Definition at line 1314 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter, typename _Ch_traits, typename _Ch_alloc>
bool std::tr1::operator== ( const sub_match< _Bi_iter > &  __lhs,
const basic_string< typename iterator_traits< _Bi_iter >::value_type, _Ch_traits, _Ch_alloc > &  __rhs 
) [inline]

Tests the equivalence of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A string.
Returns:
true if lhs is equivalent to rhs, false otherwise.

Definition at line 1228 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter, typename _Ch_traits, typename _Ch_alloc>
bool std::tr1::operator== ( const basic_string< typename iterator_traits< _Bi_iter >::value_type, _Ch_traits, _Ch_alloc > &  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the equivalence of a string and a regular expression submatch.

Parameters:
lhs A string.
rhs A regular expression submatch.
Returns:
true if lhs is equivalent to rhs, false otherwise.

Definition at line 1147 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _BiIter>
bool std::tr1::operator== ( const sub_match< _BiIter > &  __lhs,
const sub_match< _BiIter > &  __rhs 
) [inline]

Tests the equivalence of two regular expression submatches.

Parameters:
lhs First regular expression submatch.
rhs Second regular expression submatch.
Returns:
true if lhs is equivalent to rhs, false otherwise.

Definition at line 1074 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::compare().

template<typename _Bi_iter>
bool std::tr1::operator> ( const sub_match< _Bi_iter > &  __lhs,
typename iterator_traits< _Bi_iter >::value_type const &  __rhs 
) [inline]

Tests the ordering of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A const string reference.
Returns:
true if lhs succeeds rhs, false otherwise.

Definition at line 1573 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter>
bool std::tr1::operator> ( typename iterator_traits< _Bi_iter >::value_type const &  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the ordering of a string and a regular expression submatch.

Parameters:
lhs A string.
rhs A regular expression submatch.
Returns:
true if lhs succeeds rhs, false otherwise.

Definition at line 1499 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter>
bool std::tr1::operator> ( const sub_match< _Bi_iter > &  __lhs,
typename iterator_traits< _Bi_iter >::value_type const *  __rhs 
) [inline]

Tests the ordering of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A string.
Returns:
true if lhs succeeds rhs, false otherwise.

Definition at line 1425 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter>
bool std::tr1::operator> ( typename iterator_traits< _Bi_iter >::value_type const *  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the ordering of a string and a regular expression submatch.

Parameters:
lhs A string.
rhs A regular expression submatch.
Returns:
true if lhs succeeds rhs, false otherwise.

Definition at line 1351 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter, class _Ch_traits, class _Ch_alloc>
bool std::tr1::operator> ( const sub_match< _Bi_iter > &  __lhs,
const basic_string< typename iterator_traits< _Bi_iter >::value_type, _Ch_traits, _Ch_alloc > &  __rhs 
) [inline]

Tests the ordering of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A string.
Returns:
true if lhs succeeds rhs, false otherwise.

Definition at line 1271 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter, typename _Ch_traits, typename _Ch_alloc>
bool std::tr1::operator> ( const basic_string< typename iterator_traits< _Bi_iter >::value_type, _Ch_traits, _Ch_alloc > &  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the ordering of a string and a regular expression submatch.

Parameters:
lhs A string.
rhs A regular expression submatch.
Returns:
true if lhs succeeds rhs, false otherwise.

Definition at line 1188 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _BiIter>
bool std::tr1::operator> ( const sub_match< _BiIter > &  __lhs,
const sub_match< _BiIter > &  __rhs 
) [inline]

Tests the ordering of two regular expression submatches.

Parameters:
lhs First regular expression submatch.
rhs Second regular expression submatch.
Returns:
true if lhs succeeds rhs, false otherwise.

Definition at line 1134 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::compare().

template<typename _Bi_iter>
bool std::tr1::operator>= ( const sub_match< _Bi_iter > &  __lhs,
typename iterator_traits< _Bi_iter >::value_type const &  __rhs 
) [inline]

Tests the ordering of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A const string reference.
Returns:
true if lhs does not preceed rhs, false otherwise.

Definition at line 1585 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter>
bool std::tr1::operator>= ( typename iterator_traits< _Bi_iter >::value_type const &  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the ordering of a string and a regular expression submatch.

Parameters:
lhs A string.
rhs A regular expression submatch.
Returns:
true if lhs does not preceed rhs, false otherwise.

Definition at line 1511 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter>
bool std::tr1::operator>= ( const sub_match< _Bi_iter > &  __lhs,
typename iterator_traits< _Bi_iter >::value_type const *  __rhs 
) [inline]

Tests the ordering of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A string.
Returns:
true if lhs does not precede rhs, false otherwise.

Definition at line 1437 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter>
bool std::tr1::operator>= ( typename iterator_traits< _Bi_iter >::value_type const *  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the ordering of a string and a regular expression submatch.

Parameters:
lhs A string.
rhs A regular expression submatch.
Returns:
true if lhs does not preceed rhs, false otherwise.

Definition at line 1363 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter, class _Ch_traits, class _Ch_alloc>
bool std::tr1::operator>= ( const sub_match< _Bi_iter > &  __lhs,
const basic_string< typename iterator_traits< _Bi_iter >::value_type, _Ch_traits, _Ch_alloc > &  __rhs 
) [inline]

Tests the ordering of a regular expression submatch and a string.

Parameters:
lhs A regular expression submatch.
rhs A string.
Returns:
true if lhs does not preceed rhs, false otherwise.

Definition at line 1285 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _Bi_iter, typename _Ch_traits, typename _Ch_alloc>
bool std::tr1::operator>= ( const basic_string< typename iterator_traits< _Bi_iter >::value_type, _Ch_traits, _Ch_alloc > &  __lhs,
const sub_match< _Bi_iter > &  __rhs 
) [inline]

Tests the ordering of a string and a regular expression submatch.

Parameters:
lhs A string.
rhs A regular expression submatch.
Returns:
true if lhs does not preceed rhs, false otherwise.

Definition at line 1201 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::str().

template<typename _BiIter>
bool std::tr1::operator>= ( const sub_match< _BiIter > &  __lhs,
const sub_match< _BiIter > &  __rhs 
) [inline]

Tests the ordering of two regular expression submatches.

Parameters:
lhs First regular expression submatch.
rhs Second regular expression submatch.
Returns:
true if lhs does not preceed rhs, false otherwise.

Definition at line 1122 of file tr1/regex.

References std::tr1::sub_match< _BiIter >::compare().

template<typename _Ch_traits, typename _Str_allocator, typename _Ch_type, typename _Rx_traits>
bool std::tr1::regex_match ( const basic_string< _Ch_type, _Ch_traits, _Str_allocator > &  __s,
const basic_regex< _Ch_type, _Rx_traits > &  __re,
regex_constants::match_flag_type  __flags = regex_constants::match_default 
) [inline]

Indicates if there is a match between the regular expression e and a string.

Parameters:
s [IN] The string to match.
re [IN] The regular expression.
flags [IN] Controls how the regular expression is matched.
Return values:
true A match exists.
false Otherwise.

Definition at line 1984 of file tr1/regex.

References std::basic_string< _CharT, _Traits, _Alloc >::begin(), and std::basic_string< _CharT, _Traits, _Alloc >::end().

Referenced by std::tr1::regex_match().

template<typename _Ch_type, class _Rx_traits>
bool std::tr1::regex_match ( const _Ch_type *  __s,
const basic_regex< _Ch_type, _Rx_traits > &  __re,
regex_constants::match_flag_type  __f = regex_constants::match_default 
) [inline]

Indicates if there is a match between the regular expression e and a C-style null-terminated string.

Parameters:
s The C-style null-terminated string to match.
re The regular expression.
f Controls how the regular expression is matched.
Return values:
true A match exists.
false Otherwise.

Definition at line 1964 of file tr1/regex.

References std::tr1::regex_match().

template<typename _Ch_traits, typename _Ch_alloc, typename _Allocator, typename _Ch_type, typename _Rx_traits>
bool std::tr1::regex_match ( const basic_string< _Ch_type, _Ch_traits, _Ch_alloc > &  __s,
match_results< typename basic_string< _Ch_type, _Ch_traits, _Ch_alloc >::const_iterator, _Allocator > &  __m,
const basic_regex< _Ch_type, _Rx_traits > &  __re,
regex_constants::match_flag_type  __flags = regex_constants::match_default 
) [inline]

Determines if there is a match between the regular expression e and a string.

Parameters:
s The string to match.
m The match results.
re The regular expression.
flags Controls how the regular expression is matched.
Return values:
true A match exists.
false Otherwise.

Definition at line 1943 of file tr1/regex.

References std::basic_string< _CharT, _Traits, _Alloc >::begin(), std::basic_string< _CharT, _Traits, _Alloc >::end(), and std::tr1::regex_match().

template<typename _Ch_type, typename _Allocator, typename _Rx_traits>
bool std::tr1::regex_match ( const _Ch_type *  __s,
match_results< const _Ch_type *, _Allocator > &  __m,
const basic_regex< _Ch_type, _Rx_traits > &  __re,
regex_constants::match_flag_type  __f = regex_constants::match_default 
) [inline]

Determines if there is a match between the regular expression e and a C-style null-terminated string.

Parameters:
s The C-style null-terminated string to match.
m The match results.
re The regular expression.
f Controls how the regular expression is matched.
Return values:
true A match exists.
false Otherwise.

Definition at line 1921 of file tr1/regex.

References std::tr1::regex_match().

template<typename _Bi_iter, typename _Ch_type, typename _Rx_traits>
bool std::tr1::regex_match ( _Bi_iter  __first,
_Bi_iter  __last,
const basic_regex< _Ch_type, _Rx_traits > &  __re,
regex_constants::match_flag_type  __flags = regex_constants::match_default 
)

Indicates if there is a match between the regular expression e and all of the character sequence [first, last).

Parameters:
first Beginning of the character sequence to match.
last One-past-the-end of the character sequence to match.
re The regular expression.
flags Controls how the regular expression is matched.
Return values:
true A match exists.
false Otherwise.

Definition at line 1898 of file tr1/regex.

References std::tr1::regex_match().

template<typename _Bi_iter, typename _Allocator, typename _Ch_type, typename _Rx_traits>
bool std::tr1::regex_match ( _Bi_iter  __first,
_Bi_iter  __last,
match_results< _Bi_iter, _Allocator > &  __m,
const basic_regex< _Ch_type, _Rx_traits > &  __re,
regex_constants::match_flag_type  __flags = regex_constants::match_default 
)

Determines if there is a match between the regular expression e and all of the character sequence [first, last).

Parameters:
first Beginning of the character sequence to match.
last One-past-the-end of the character sequence to match.
m The match results.
re The regular expression.
flags Controls how the regular expression is matched.
Return values: