diff options
Diffstat (limited to 'include/regex')
-rw-r--r-- | include/regex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/regex b/include/regex index 443c2e303465..77ca648109b2 100644 --- a/include/regex +++ b/include/regex @@ -6142,7 +6142,7 @@ regex_iterator<_BidirectionalIterator, _CharT, _Traits>::operator++() { __flags_ |= regex_constants::__no_update_pos; _BidirectionalIterator __start = __match_[0].second; - if (__match_.empty()) + if (__match_[0].first == __match_[0].second) { if (__start == __end_) { |