@Test public void testMatches() { Pattern p = Pattern.compile(".*thumbs\\.db.*"); Matcher m = p.matcher("/test/test/test/thumbs.db/"); boolean b = m.matches(); Assert.isTrue(b); }
@Override public boolean matches(String text) { matcher = pattern.matcher(text); return matcher.matches(); }
RegexService implements IRegexService { @Override public boolean matches(String text) { matcher = pattern.matcher(text); return matcher.matches(); } }
RegexService implements IRegexService { @Override public boolean matches(String text) { matcher = pattern.matcher(text); return matcher.matches(); }  }
RegexService implements IRegexService { @Override public boolean matches(String text) { matcher = pattern.matcher(text); return matcher.matches(); }  @Override void setPattern(String textPattern); @Override boolean matches(String text); @Override String replaceAll(String text, String replaceString); }
RegexService implements IRegexService { @Override public boolean matches(String text) { matcher = pattern.matcher(text); return matcher.matches(); }  @Override void setPattern(String textPattern); @Override boolean matches(String text); @Override String replaceAll(String text, String replaceString);  }