@Test
public void testOrdering() {
try {
CompiledAutomaton auto2 = new CompiledAutomaton("[a-z]{3}");
assertEquals(false, auto2.match("1234", "abc") );
assertEquals(true, auto2.match("abc", "1234") );
CompiledRegex regex2 = new CompiledRegex(Pattern.compile("[a-z]{3}"));
assertEquals(false, regex2.match("1234", "abc") );
assertEquals(true, regex2.match("abc", "1234") );