[re.regiter.cnstr]

# 28 Text processing library [[text]](./#text)

## 28.6 Regular expressions library [[re]](re#regiter.cnstr)

### 28.6.11 Regular expression iterators [[re.iter]](re.iter#re.regiter.cnstr)

#### 28.6.11.1 Class template regex_iterator [[re.regiter]](re.regiter#cnstr)

#### 28.6.11.1.2 Constructors [re.regiter.cnstr]

[ð](#lib:regex_iterator,constructor)

`regex_iterator();
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L12311)

*Effects*: Constructs an end-of-sequence iterator[.](#1.sentence-1)

[ð](#lib:regex_iterator,constructor_)

`regex_iterator(BidirectionalIterator a, BidirectionalIterator b,
               const regex_type& re,
               regex_constants::match_flag_type m = regex_constants::match_default);
`

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L12324)

*Effects*: Initializes begin and end toa and b, respectively, setspregex to addressof(re), sets flags tom, then calls regex_search(begin, end, match, *pregex, flags)[.](#2.sentence-1)

If this
call returns false the constructor sets *this to the end-of-sequence
iterator[.](#2.sentence-2)
