tmp/tmp4v83k4o9/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**Table: Effects of `regex_search` algorithm** <a id="re.alg.search">[re.alg.search]</a>
|
| 2 |
+
|
| 3 |
+
| Element | Value |
|
| 4 |
+
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| 5 |
+
| `m.size()` | `1 + e.mark_count()` |
|
| 6 |
+
| `m.empty()` | `false` |
|
| 7 |
+
| `m.prefix().first` | `first` |
|
| 8 |
+
| `m.prefix().second` | `m[0].first` |
|
| 9 |
+
| `m.prefix().matched` | `m.prefix().first != m.prefix().second` |
|
| 10 |
+
| `m.suffix().first` | `m[0].second` |
|
| 11 |
+
| `m.suffix().second` | `last` |
|
| 12 |
+
| `m.suffix().matched` | `m.suffix().first != m.suffix().second` |
|
| 13 |
+
| `m[0].first` | The start of the sequence of characters that matched the regular expression |
|
| 14 |
+
| `m[0].second` | The end of the sequence of characters that matched the regular expression |
|
| 15 |
+
| `m[0].matched` | `true` |
|
| 16 |
+
| `m[n].first` | For all integers `0 < n < m.size()`, the start of the sequence that matched sub-expression `n`. Alternatively, if sub-expression `n` did not participate in the match, then `last`. |
|
| 17 |
+
| `m[n].second` | For all integers `0 < n < m.size()`, the end of the sequence that matched sub-expression `n`. Alternatively, if sub-expression `n` did not participate in the match, then `last` . |
|
| 18 |
+
| `m[n].matched` | For all integers `0 < n < m.size()`, `true` if sub-expression `n` participated in the match, `false` otherwise. |
|
| 19 |
+
|