sparqlQueryService/src/main/java/com/ge/research/semtk/services/sparql/SparqlQueryServiceRestController.java
private static boolean containsRegexIgnoreCase(String s, String regex){
		s = s.toLowerCase().trim();		
		Pattern whitespace = Pattern.compile(regex);    
		Matcher matcher = whitespace.matcher(s);
		if (matcher.find()) {
			return true;
		}
		return false;
	}
/**
	 * Determine if a string contains a regular expression
	 */
Determine if a string contains a regular expression
Determine if a string contains a regular expression
private static boolean containsRegexIgnoreCase(String s, String regex){
		s = s.toLowerCase().trim();		
		Pattern whitespace = Pattern.compile(regex);    
		Matcher matcher = whitespace.matcher(s);
		if (matcher.find()) {
			return true;
		}
		return false;
	}
private static boolean containsRegexIgnoreCase ( String s , String regex ) { s = s . toLowerCase ( ) . trim ( ) ; Pattern whitespace = Pattern . compile ( regex ) ; Matcher matcher = whitespace . matcher ( s ) ; if ( matcher . find ( ) ) { return true ; } return false ; }
Determine if a string contains a regular expression
Determine if a string contains a regular expression