RegexMatch

A regex engine state, as returned by match family of functions.

Effectively it's a forward range of Captures!R, produced by lazily searching for matches in a given input.

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Postblit

A postblit is present on this object, but not explicitly documented in the source.

Members

Functions

opCast
T opCast()

Same as !(x.empty), provided for its convenience in conditional statements.

popFront
void popFront()
save
auto save()

Functionality for processing subsequent matches of global regexes via range interface:

Properties

captures
inout(Captures!R) captures [@property getter]

Same as .front, provided for compatibility with original std.regex.

empty
bool empty [@property getter]

Test if this match object is empty.

front
inout(Captures!R) front [@property getter]

Functionality for processing subsequent matches of global regexes via range interface:

hit
R hit [@property getter]
post
R post [@property getter]

Shorthands for front.pre, front.post, front.hit.

pre
R pre [@property getter]

Shorthands for front.pre, front.post, front.hit.

Meta