changeset 192 | 9f0631804555 |
parent 190 | 0b63c0edfb09 |
child 208 | bd5a8a6b3871 |
--- 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"))