From Jason Turner

[re.alg.match]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp_wfi_g70/{from.md → to.md} +19 -0
tmp/tmp_wfi_g70/{from.md → to.md} RENAMED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ **Table: Effects of `regex_match` algorithm** <a id="re.alg.match">[re.alg.match]</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` | `first` |
9
+ | `m.prefix().matched` | `false` |
10
+ | `m.suffix().first` | `last` |
11
+ | `m.suffix().second` | `last` |
12
+ | `m.suffix().matched` | `false` |
13
+ | `m[0].first` | `first` |
14
+ | `m[0].second` | `last` |
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
+