replace * and = with spec. strings in logic-slug.