https://issues.dlang.org/show_bug.cgi?id=18691
--- Comment #6 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/b602b5a3f42456faa39b56082510d2181b6b844a Fix issue 18691 - memory errors in std.regex.Captures Instead of a messy code that ended up with refcount at the wrong place provide a clean fixed-size array with required semantics and build on top of that. https://github.com/dlang/phobos/commit/71692cd4746bc9601c3126666a71eb8b20fd22f3 Merge pull request #6379 from DmitryOlshansky/fix-issue-18691 Fix issue 18691 - memory errors in std.regex.Captures merged-on-behalf-of: Jack Stouffer <j...@jackstouffer.com> --