REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
Loading...
Searching...
No Matches
real::detail::named_group Struct Reference

A named capture group. More...

Public Attributes

std::int32_t group {}
 Capture group number.
 
std::int32_t begin {}
 Start offset of the name in the pattern text.
 
std::int32_t end {}
 End offset (exclusive) of the name.
 

Detailed Description

A named capture group.

The name is stored as a byte range into the pattern text rather than an owned string, keeping the type constexpr-friendly.

Definition at line 328 of file program.hpp.

Member Data Documentation

◆ begin

std::int32_t real::detail::named_group::begin {}

Start offset of the name in the pattern text.

Definition at line 331 of file program.hpp.

◆ end

std::int32_t real::detail::named_group::end {}

End offset (exclusive) of the name.

Definition at line 332 of file program.hpp.

◆ group

std::int32_t real::detail::named_group::group {}

Capture group number.

Definition at line 330 of file program.hpp.


The documentation for this struct was generated from the following file: