CompiledAutomaton auto2 = new CompiledAutomaton("[a-z]{3}");
assertEquals(false, auto2.match("1234", "abc") );
assertEquals(true, auto2.match("abc", "1234") );
auto2 = new CompiledAutomaton(".*#c");
assertEquals(true, auto2.match("ab#c", "dummy"));
auto2 = new CompiledAutomaton(".*@.*");
assertEquals(true, auto2.match("ab@c", "dummy"));
auto2 = new CompiledAutomaton("abc&def");