author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Thu, 14 Nov 2013 20:15:06 +0000 | |
changeset 192 | 9f0631804555 |
parent 191 | ff6665581ced |
child 193 | 6518475020fc |
progs/cw1.scala | file | annotate | diff | comparison | revisions |
--- 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"))