Supramolecular photocatalysis by confinement--photodimerization of coumarins within cucurbit[8]urils.