api change in std.regex