public void sendThroughFilter(Event event, String filter) {		
		Iterator<?> iter = subscriptions.entrySet().iterator();
		while(iter.hasNext()) {
			Entry<?,?> pair = (Entry<?, ?>) iter.next();
			Subscription currentSubscription = (Subscription) pair.getValue();
			String[] currentFilters = currentSubscription.getFilters();
			for(int i = 0; i < currentFilters.length; i++) {
				Pattern pattern = Pattern.compile(currentFilters[i]);
				Matcher matcher = pattern.matcher(event.getType());
				if(matcher.find()) {
					currentSubscription.notify(event);
				}
			}
		}
	}