Force to string for regex comparison