I took a stab at a regex to check for public.item, but this just seems brittle to me.