A REAL match found on a suffix of the subject, seen with the subject's offsets: what the format expander and the match-results fill read (size, start, end).
More...
#include <regex_match.hpp>
|
| | offset_match (const RealMatch &match, std::size_t offset) noexcept |
| | Sees match, found on the suffix starting at offset, with the subject's offsets.
|
| |
| std::size_t | size () const noexcept |
| | The group count, whole match included.
|
| |
| std::size_t | start (std::size_t g) const noexcept |
| | Group g's start in the subject.
|
| |
| std::size_t | end (std::size_t g) const noexcept |
| | Group g's end in the subject.
|
| |
|
|
const RealMatch * | match_ |
| | The match, found on the suffix.
|
| |
|
std::size_t | offset_ |
| | Where the suffix starts in the subject.
|
| |
template<typename RealMatch>
class real::compat::detail::offset_match< RealMatch >
A REAL match found on a suffix of the subject, seen with the subject's offsets: what the format expander and the match-results fill read (size, start, end).
- Template Parameters
-
| RealMatch | The engine's match type. |
◆ offset_match()
template<typename RealMatch >
Sees match, found on the suffix starting at offset, with the subject's offsets.
- Parameters
-
| [in] | match | The match; it must outlive this view. |
| [in] | offset | Where the suffix starts in the subject. |
◆ end()
template<typename RealMatch >
Group g's end in the subject.
- Parameters
-
- Returns
- The offset, or
real::npos when the group took no part.
◆ size()
template<typename RealMatch >
The group count, whole match included.
- Returns
- The count.
◆ start()
template<typename RealMatch >
Group g's start in the subject.
- Parameters
-
- Returns
- The offset, or
real::npos when the group took no part.
The documentation for this class was generated from the following file: