The following code will result in an AssertError or RangeError when run.

import std.regex;
import std.stdio;

void main ()
{
    auto m = "abc".match(`a(\w)b`);

    writeln(m.hit); // AssertError in regex.d:1795
    writeln(m.captures); // RangeError in regex.d:1719
}

Should I report this as a bug?

--
/Jacob Carlborg

Reply via email to