tmp/tmp1hw660jj/{from.md → to.md}
RENAMED
|
@@ -4,15 +4,16 @@
|
|
| 4 |
size_type size() const;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Returns:* One plus the number of marked sub-expressions in the regular
|
| 8 |
expression that was matched if `*this` represents the result of a
|
| 9 |
-
successful match. Otherwise returns `0`.
|
| 10 |
-
|
| 11 |
-
`
|
| 12 |
-
|
| 13 |
-
|
|
|
|
| 14 |
|
| 15 |
``` cpp
|
| 16 |
size_type max_size() const;
|
| 17 |
```
|
| 18 |
|
|
|
|
| 4 |
size_type size() const;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Returns:* One plus the number of marked sub-expressions in the regular
|
| 8 |
expression that was matched if `*this` represents the result of a
|
| 9 |
+
successful match. Otherwise returns `0`.
|
| 10 |
+
|
| 11 |
+
[*Note 1*: The state of a `match_results` object can be modified only
|
| 12 |
+
by passing that object to `regex_match` or `regex_search`.
|
| 13 |
+
Sections [[re.alg.match]] and [[re.alg.search]] specify the effects of
|
| 14 |
+
those algorithms on their `match_results` arguments. — *end note*]
|
| 15 |
|
| 16 |
``` cpp
|
| 17 |
size_type max_size() const;
|
| 18 |
```
|
| 19 |
|