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