when regex is passed don't try to escape it