coerce regex to string so we can compare