@Test public void testParseQuotes() { SearchTerm[] terms = TextMatchers.parse("\"blah\""); assertEquals(1, terms.length); checkFilterTerm(terms[0], "blah", false, false); terms = TextMatchers.parse("\"blah\" \"boo\" \"blee\""); assertEquals(3, terms.length); checkFilterTerm(terms[0], "blah", false, false); checkFilterTerm(terms[1], "boo", false, false); checkFilterTerm(terms[2], "blee", false, false); terms = TextMatchers.parse("\t\"blah\" \"boo\" \t \"blee\" "); assertEquals(3, terms.length); checkFilterTerm(terms[0], "blah", false, false); checkFilterTerm(terms[1], "boo", false, false); checkFilterTerm(terms[2], "blee", false, false); terms = TextMatchers.parse("\"blee \t boo \t\t blah \t\""); assertEquals(1, terms.length); checkFilterTerm(terms[0], "blee \t boo \t\t blah \t", false, false); }
public static <E> SearchTerm<E>[] parse(String text) { return parse(text, Collections.<SearchEngineTextMatcherEditor.Field<E>>emptySet()); }
TextMatchers { public static <E> SearchTerm<E>[] parse(String text) { return parse(text, Collections.<SearchEngineTextMatcherEditor.Field<E>>emptySet()); } }
TextMatchers { public static <E> SearchTerm<E>[] parse(String text) { return parse(text, Collections.<SearchEngineTextMatcherEditor.Field<E>>emptySet()); }  }
TextMatchers { public static <E> SearchTerm<E>[] parse(String text) { return parse(text, Collections.<SearchEngineTextMatcherEditor.Field<E>>emptySet()); }  static boolean matches(List<String> filterStrings, TextFilterator<? super E> filterator, SearchTerm<E>[] searchTerms, TextSearchStrategy[] filterStrategies, E element); static SearchTerm[] normalizeSearchTerms(SearchTerm[] filters, TextSearchStrategy.Factory strategy); static SearchTerm<E>[] parse(String text); static SearchTerm<E>[] parse(String text, Set<SearchEngineTextMatcherEditor.Field<E>> fields); static boolean isMatcherConstrained(TextMatcher oldMatcher, TextMatcher newMatcher); static boolean isMatcherRelaxed(TextMatcher oldMatcher, TextMatcher newMatcher); }
TextMatchers { public static <E> SearchTerm<E>[] parse(String text) { return parse(text, Collections.<SearchEngineTextMatcherEditor.Field<E>>emptySet()); }  static boolean matches(List<String> filterStrings, TextFilterator<? super E> filterator, SearchTerm<E>[] searchTerms, TextSearchStrategy[] filterStrategies, E element); static SearchTerm[] normalizeSearchTerms(SearchTerm[] filters, TextSearchStrategy.Factory strategy); static SearchTerm<E>[] parse(String text); static SearchTerm<E>[] parse(String text, Set<SearchEngineTextMatcherEditor.Field<E>> fields); static boolean isMatcherConstrained(TextMatcher oldMatcher, TextMatcher newMatcher); static boolean isMatcherRelaxed(TextMatcher oldMatcher, TextMatcher newMatcher);  }