Fix string regex.