[tab:re.alg.match] (original) (raw)
28 Text processing library [text]
28.6 Regular expressions library [re]
28.6.10 Regular expression algorithms [re.alg]
28.6.10.2 regex_match [re.alg.match]
Table 121 β Effects of regex_match algorithm [tab:re.alg.match]
πElement | Value |
---|---|
πm.size() | 1 + e.mark_count() |
πm.empty() | false |
πm.prefix().first | first |
πm.prefix().second | first |
πm.prefix().matched | false |
πm.suffix().first | last |
πm.suffix().second | last |
πm.suffix().matched | false |
πm[0].first | first |
πm[0].second | last |
πm[0].matched | true |
π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. |
π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. |
πm[n].matched | For all integers 0 < n < m.size(), true if sub-expression n participated in the match, false otherwise. |