do not match empty strings for tags and widget classes