regex is to spec