Section: 28.6.7 [re.regex] Status: CD1 Submitter: Bo Persson Opened: 2007-01-23 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [re.regex].
View all issues with CD1 status.
Discussion:
Section 28.6.7 [re.regex] lists a constructor
template<class InputIterator> basic_regex(InputIterator first, InputIterator last, flag_type f = regex_constants::ECMAScript);
However, in section 28.6.7.2 [re.regex.construct], this constructor takes a
pair of ForwardIterator
.
Proposed resolution:
Change 28.6.7.2 [re.regex.construct]:
template <classForwardIteratorInputIterator> basic_regex(ForwardIteratorInputIterator first,ForwardIteratorInputIterator last, flag_type f = regex_constants::ECMAScript);