https://issues.dlang.org/show_bug.cgi?id=16251 --- Comment #5 from Vladimir Panteleev <thecybershadow at gmail.com> --- There are some backreference tests here: https://github.com/dlang/phobos/blob/master/std/regex/internal/tests.d#L310-L315 --