Nanosized particles of organically modified silica as microreactors to enhance the regioselectivity in the photocycloaddition of 9-substituted anthracenes.