Why is the result of this different between 2.056 and 2.057?

import std.stdio;
import std.regex;

void main() {
    string src = "4.5.1";
    foreach (c; match(src, regex(r"(\d+)")))
        writeln(c.hit);
}

2.056:
4
5
1

2.057:
4

Reply via email to