event.class_selector matches event type against regex