From Jason Turner

[tab:re:alg:match]

Diff to HTML by rtfpessoa

tmp/tmp30ls3e_m/{from.md → to.md} RENAMED
@@ -1,19 +1,19 @@
1
  **Table: Effects of `regex_match` algorithm** <a id="tab:re:alg:match">[tab: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` if a full match was found. |
16
- | `m[n].first` | For all integers `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 `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 `n < m.size()`, `true` if sub-expression `n` participated in the match, `false` otherwise. |
19
 
 
1
  **Table: Effects of `regex_match` algorithm** <a id="tab:re:alg:match">[tab: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