code: public static boolean isRedirect(String text) {
  		boolean result = false;
  		String pattern;
  		for (int i = 0; i < redirectPatterns.size() && !result; i++) {
  			pattern = redirectPatterns.get(i);
  			result = text.regionMatches(true, 0, pattern, 0, pattern.length());
  		}
  		return result;
  
  	}
docs: Check if given text starts with #REDIRECT, with case ignoring
  
  @param text The text fragment to check. Must not be {@code null}.
  @return {@code true} if text starts with #REDIRECT, false otherwise