---
name: "std::tr1::regex_iterator"
section: "3cxx"
platform: "linux"
package: "libstdc++6-4.4-doc"
version: "4.4.5-8"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/std::tr1::regex_iterator"
---

# std::tr1::regex\_iterator(3cxx)

## NAME

std::tr1::regex\_iterator -

## SYNOPSIS

### Public Types

typedef std::ptrdiff\_t **difference\_type**\
 typedef **std::forward\_iterator\_tag** **iterator\_category**\
 typedef const **value\_type** \* **pointer**\
 typedef const **value\_type** & **reference**\
 typedef **basic\_regex**\< \_Ch\_type, \_Rx\_traits \> **regex\_type**\
 typedef **match\_results**\< \_Bi\_iter \> **value\_type**\

### Public Member Functions

bool **operator!=** (const **regex\_iterator** &\_\_rhs)\
 const **value\_type** & **operator\*** ()\
 **regex\_iterator** & **operator++** ()\
 **regex\_iterator** **operator++** (int)\
 const **value\_type** \* **operator-\>** ()\
 **regex\_iterator** & **operator=** (const **regex\_iterator** &\_\_rhs)\
 bool **operator==** (const **regex\_iterator** &\_\_rhs)\
 **regex\_iterator** (\_Bi\_iter \_\_a, \_Bi\_iter \_\_b, const **regex\_type** &\_\_re, **regex\_constants::match\_flag\_type** \_\_m=regex\_constants::match\_default)\
 **regex\_iterator** (const **regex\_iterator** &\_\_rhs)\
 **regex\_iterator** ()\

## Detailed Description

### template\<typename \_Bi\_iter, typename \_Ch\_type = typename iterator\_traits\<\_Bi\_iter\>::value\_type, typename \_Rx\_traits = regex\_traits\<\_Ch\_type\>\> class std::tr1::regex\_iterator\< \_Bi\_iter, \_Ch\_type, \_Rx\_traits \>

An iterator adaptor that will provide repeated calls of regex\_search over a range until no more matches remain.

Definition at line 2429 of file tr1\_impl/regex.

## Constructor & Destructor Documentation

### template\<typename \_Bi\_iter , typename \_Ch\_type = typename iterator\_traits\<\_Bi\_iter\>::value\_type, typename \_Rx\_traits = regex\_traits\<\_Ch\_type\>\> std::tr1::regex\_iterator\< \_Bi\_iter, \_Ch\_type, \_Rx\_traits \>::regex\_iterator ()

Provides a singular iterator, useful for indicating one-past-the-end of a range. **Todo**

Implement this function.

Doc me! See doc/doxygen/TODO and http://gcc.gnu.org/ml/libstdc++/2002-02/msg00003.html for more.

### template\<typename \_Bi\_iter , typename \_Ch\_type = typename iterator\_traits\<\_Bi\_iter\>::value\_type, typename \_Rx\_traits = regex\_traits\<\_Ch\_type\>\> std::tr1::regex\_iterator\< \_Bi\_iter, \_Ch\_type, \_Rx\_traits \>::regex\_iterator (\_Bi\_iter \_\_a, \_Bi\_iter \_\_b, const regex\_type & \_\_re, regex\_constants::match\_flag\_type \_\_m = `regex_constants::match_default`) Constructs a regex\_iterator...

**Parameters:**

*a* \[IN\] The start of a text range to search. \
 *b* \[IN\] One-past-the-end of the text range to search. \
 *re* \[IN\] The regular expression to match. \
 *m* \[IN\] Policy flags for match rules.

**Todo**

Implement this function.

Doc me! See doc/doxygen/TODO and http://gcc.gnu.org/ml/libstdc++/2002-02/msg00003.html for more.

### template\<typename \_Bi\_iter , typename \_Ch\_type = typename iterator\_traits\<\_Bi\_iter\>::value\_type, typename \_Rx\_traits = regex\_traits\<\_Ch\_type\>\> std::tr1::regex\_iterator\< \_Bi\_iter, \_Ch\_type, \_Rx\_traits \>::regex\_iterator (const regex\_iterator\< \_Bi\_iter, \_Ch\_type, \_Rx\_traits \> & \_\_rhs) Copy constructs a regex\_iterator.

**Todo**

Implement this function.

Doc me! See doc/doxygen/TODO and http://gcc.gnu.org/ml/libstdc++/2002-02/msg00003.html for more.

## Member Function Documentation

### template\<typename \_Bi\_iter , typename \_Ch\_type = typename iterator\_traits\<\_Bi\_iter\>::value\_type, typename \_Rx\_traits = regex\_traits\<\_Ch\_type\>\> bool std::tr1::regex\_iterator\< \_Bi\_iter, \_Ch\_type, \_Rx\_traits \>::operator!= (const regex\_iterator\< \_Bi\_iter, \_Ch\_type, \_Rx\_traits \> & \_\_rhs) Todo

Implement this function.

Doc me! See doc/doxygen/TODO and http://gcc.gnu.org/ml/libstdc++/2002-02/msg00003.html for more.

### template\<typename \_Bi\_iter , typename \_Ch\_type = typename iterator\_traits\<\_Bi\_iter\>::value\_type, typename \_Rx\_traits = regex\_traits\<\_Ch\_type\>\> const value\_type& std::tr1::regex\_iterator\< \_Bi\_iter, \_Ch\_type, \_Rx\_traits \>::operator\* () Todo

Implement this function.

Doc me! See doc/doxygen/TODO and http://gcc.gnu.org/ml/libstdc++/2002-02/msg00003.html for more.

### template\<typename \_Bi\_iter , typename \_Ch\_type = typename iterator\_traits\<\_Bi\_iter\>::value\_type, typename \_Rx\_traits = regex\_traits\<\_Ch\_type\>\> regex\_iterator std::tr1::regex\_iterator\< \_Bi\_iter, \_Ch\_type, \_Rx\_traits \>::operator++ (int) Todo

Implement this function.

Doc me! See doc/doxygen/TODO and http://gcc.gnu.org/ml/libstdc++/2002-02/msg00003.html for more.

### template\<typename \_Bi\_iter , typename \_Ch\_type = typename iterator\_traits\<\_Bi\_iter\>::value\_type, typename \_Rx\_traits = regex\_traits\<\_Ch\_type\>\> regex\_iterator& std::tr1::regex\_iterator\< \_Bi\_iter, \_Ch\_type, \_Rx\_traits \>::operator++ () Todo

Implement this function.

Doc me! See doc/doxygen/TODO and http://gcc.gnu.org/ml/libstdc++/2002-02/msg00003.html for more.

### template\<typename \_Bi\_iter , typename \_Ch\_type = typename iterator\_traits\<\_Bi\_iter\>::value\_type, typename \_Rx\_traits = regex\_traits\<\_Ch\_type\>\> const value\_type\* std::tr1::regex\_iterator\< \_Bi\_iter, \_Ch\_type, \_Rx\_traits \>::operator-\> () Todo

Implement this function.

Doc me! See doc/doxygen/TODO and http://gcc.gnu.org/ml/libstdc++/2002-02/msg00003.html for more.

### template\<typename \_Bi\_iter , typename \_Ch\_type = typename iterator\_traits\<\_Bi\_iter\>::value\_type, typename \_Rx\_traits = regex\_traits\<\_Ch\_type\>\> regex\_iterator& std::tr1::regex\_iterator\< \_Bi\_iter, \_Ch\_type, \_Rx\_traits \>::operator= (const regex\_iterator\< \_Bi\_iter, \_Ch\_type, \_Rx\_traits \> & \_\_rhs) Todo

Implement this function.

Doc me! See doc/doxygen/TODO and http://gcc.gnu.org/ml/libstdc++/2002-02/msg00003.html for more.

### template\<typename \_Bi\_iter , typename \_Ch\_type = typename iterator\_traits\<\_Bi\_iter\>::value\_type, typename \_Rx\_traits = regex\_traits\<\_Ch\_type\>\> bool std::tr1::regex\_iterator\< \_Bi\_iter, \_Ch\_type, \_Rx\_traits \>::operator== (const regex\_iterator\< \_Bi\_iter, \_Ch\_type, \_Rx\_traits \> & \_\_rhs) Todo

Implement this function.

Doc me! See doc/doxygen/TODO and http://gcc.gnu.org/ml/libstdc++/2002-02/msg00003.html for more.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
