@Test public void testGetRegex() throws Exception { assertEquals("", new Token("").getRegex()); assertEquals("a(b)c", new Token("a(b)c").getRegex()); }
public String getRegex() { return regex; }
Token { public String getRegex() { return regex; } }
Token { public String getRegex() { return regex; } Token(String regex);  Token(String name, String regex);  Token(String name, String regex, String replacement);  Token(String name, String regex, MatchProcessor matchProcessor); }
Token { public String getRegex() { return regex; } Token(String regex);  Token(String name, String regex);  Token(String name, String regex, String replacement);  Token(String name, String regex, MatchProcessor matchProcessor); String getName(); String getRegex(); int getCapturingGroupCount(); MatchProcessor getMatchProcessor(); @Override String toString(); }
Token { public String getRegex() { return regex; } Token(String regex);  Token(String name, String regex);  Token(String name, String regex, String replacement);  Token(String name, String regex, MatchProcessor matchProcessor); String getName(); String getRegex(); int getCapturingGroupCount(); MatchProcessor getMatchProcessor(); @Override String toString();  }