diff -r ff6665581ced -r 9f0631804555 progs/cw1.scala --- a/progs/cw1.scala Thu Nov 14 20:10:06 2013 +0000 +++ b/progs/cw1.scala Thu Nov 14 20:15:06 2013 +0000 @@ -193,9 +193,10 @@ println(matcher(EVIL2, "aaa" * 43 + "aa")) println(matcher(EVIL2, "aaa" * 45 + "a")) -println("TEST") +println("TEST for bug pointed out by Filips Ivanovs") val test = NMTIMES(RANGE(LOWERCASE + "."), 2, 6) +println(matcher(test,"a")) println(matcher(test,"ab")) println(matcher(test,"abcdef")) println(matcher(test,"abc"))