@Test public void testTicksToQuotesGetsSingleTicks() { Assert.assertEquals("i said \"hi\" then", Tick.toQuote("i said 'hi' then")); }
public static String toQuote(String message) { message = Tick.standaloneTick.matcher(message).replaceAll("\""); message = Tick.twoTicks.matcher(message).replaceAll("'"); return message; }
Tick { public static String toQuote(String message) { message = Tick.standaloneTick.matcher(message).replaceAll("\""); message = Tick.twoTicks.matcher(message).replaceAll("'"); return message; } }
Tick { public static String toQuote(String message) { message = Tick.standaloneTick.matcher(message).replaceAll("\""); message = Tick.twoTicks.matcher(message).replaceAll("'"); return message; }  }
Tick { public static String toQuote(String message) { message = Tick.standaloneTick.matcher(message).replaceAll("\""); message = Tick.twoTicks.matcher(message).replaceAll("'"); return message; }  static String toQuote(String message); }
Tick { public static String toQuote(String message) { message = Tick.standaloneTick.matcher(message).replaceAll("\""); message = Tick.twoTicks.matcher(message).replaceAll("'"); return message; }  static String toQuote(String message);  }