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);
See Implementation
Functionality for processing subsequent matches of global regexes via range interface: