15 c1 . digit* '\n' @{ System.out.println( "c1" );} |
16 c2 . alpha* '\n' @{ System.out.println( "c2" );}|
17 c3 . '.'* '\n' @{ System.out.println( "c3" );}
26 static void test( char data[] )
28 int cs = test_en_commands, p = 0, pe = data.length;
34 if ( cs >= test_first_final )
35 System.out.println( "ACCEPT" );
37 System.out.println( "FAIL" );
40 public static void main( String args[] )
43 test_ex_c1, '1', '2', '\n',
44 test_ex_c2, 'a', 'b', '\n',
45 test_ex_c3, '.', '.', '\n',