Change the default regex match to in get_attr_from_cert to match the whole attribute.