organizes regex classes