### Question:
KeepsCleaner extends JCasAnnotator_ImplBase { public static boolean isOnlyPunctAndNumbers(String txt) { return onlyPunctAndNumbers.matcher(txt).matches(); }  @Override void process(JCas jCas); static boolean isOnlyPunctAndNumbers(String txt); static boolean isBalanced(final String expression);  }### Answer:
@Test public void testOnlyPunctAndNumbers() { assertFalse(isOnlyPunctAndNumbers("a{b}c(dd[e]v)g")); assertTrue(isOnlyPunctAndNumbers("10(-10")); assertTrue(isOnlyPunctAndNumbers("1:200,000")); }