@Test
public void testRegexDetermination() throws Exception {
Method m = RegexInit.class.getDeclaredMethod("determineBestRegexMethod", String.class);
m.setAccessible(true);
RegexInit regex = new RegexInit(new PORegexp(new OperatorKey()));
assertEquals(1, m.invoke(regex, "abc") );
assertEquals(1, m.invoke(regex, "\\\\abc") );