tmp/tmp3p4068pj/{from.md → to.md}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
#### Increment <a id="re.regiter.incr">[[re.regiter.incr]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
regex_iterator& operator++();
|
| 5 |
```
|
| 6 |
|
|
@@ -30,12 +30,12 @@ If the most recent match was not a zero-length match, the operator sets
|
|
| 30 |
`false` the iterator sets `*this` to the end-of-sequence iterator. The
|
| 31 |
iterator then returns `*this`.
|
| 32 |
|
| 33 |
In all cases in which the call to `regex_search` returns `true`,
|
| 34 |
`match.prefix().first` shall be equal to the previous value of
|
| 35 |
-
`match[0].second`, and for each index `i` in the half-open range
|
| 36 |
-
`
|
| 37 |
`match.position(i)` shall return `distance(begin, match[i].first)`.
|
| 38 |
|
| 39 |
[*Note 1*: This means that `match.position(i)` gives the offset from
|
| 40 |
the beginning of the target sequence, which is often not the same as the
|
| 41 |
offset from the sequence passed in the call to
|
|
|
|
| 1 |
+
##### Increment <a id="re.regiter.incr">[[re.regiter.incr]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
regex_iterator& operator++();
|
| 5 |
```
|
| 6 |
|
|
|
|
| 30 |
`false` the iterator sets `*this` to the end-of-sequence iterator. The
|
| 31 |
iterator then returns `*this`.
|
| 32 |
|
| 33 |
In all cases in which the call to `regex_search` returns `true`,
|
| 34 |
`match.prefix().first` shall be equal to the previous value of
|
| 35 |
+
`match[0].second`, and for each index `i` in the half-open range \[`0`,
|
| 36 |
+
`match.size()`) for which `match[i].matched` is `true`,
|
| 37 |
`match.position(i)` shall return `distance(begin, match[i].first)`.
|
| 38 |
|
| 39 |
[*Note 1*: This means that `match.position(i)` gives the offset from
|
| 40 |
the beginning of the target sequence, which is often not the same as the
|
| 41 |
offset from the sequence passed in the call to
|