sun::parsing::RegexCapture
struct · Source (opens in a new tab)
struct sun::parsing::RegexCaptureA group match recorded during a scan.
The matched text is NOT stored; callers slice it from their own buffer via [start.offset, end.offset).
Public Functions
length
public · function · Source (opens in a new tab)
int sun::parsing::RegexCapture::length() constReturns the length of the input span matched so far.
Public Fields
end
public · variable · Source (opens in a new tab)
sun::support::Position sun::parsing::RegexCapture::endNo documentation comment.
Related: sun::support::Position
groupIdx
public · variable · Source (opens in a new tab)
int sun::parsing::RegexCapture::groupIdx = -1No documentation comment.
groupName
public · variable · Source (opens in a new tab)
const std::string* sun::parsing::RegexCapture::groupName = nullptrNo documentation comment.
groupNameNum
public · variable · Source (opens in a new tab)
int sun::parsing::RegexCapture::groupNameNum = -1No documentation comment.
start
public · variable · Source (opens in a new tab)
sun::support::Position sun::parsing::RegexCapture::startNo documentation comment.
Related: sun::support::Position