Looks like a bug.

As a simpler workaround than $regml() use a backreference to a non-existent match like this:
$regsub(abc,b, [color:red]\999\\,%test)[/color]