The OpenD Programming Language

RegexMatch.popFront

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

import std.regex;
auto m = matchAll("Hello, world!", regex(`\w+`));
assert(m.front.hit == "Hello");
m.popFront();
assert(m.front.hit == "world");
m.popFront();
assert(m.empty);
struct RegexMatch(R)
void
popFront
()

Meta