diff -r e14cd32ad497 -r 028816884f70 progs/re2.scala --- a/progs/re2.scala Tue Oct 04 12:00:23 2016 +0100 +++ b/progs/re2.scala Tue Oct 04 14:30:08 2016 +0100 @@ -56,14 +56,15 @@ //test: (a?{n}) (a{n}) -for (i <- 1 to 1101 by 100) { +for (i <- 1 to 1001 by 100) { println(i + " " + "%.5f".format(time_needed(2, matches(EVIL1(i), "a" * i)))) } -for (i <- 1 to 1101 by 100) { +for (i <- 1 to 1001 by 100) { println(i + " " + "%.5f".format(time_needed(2, matches(EVIL1(i), "a" * i)))) } + //test: (a*)* b for (i <- 1 to 20) { println(i + " " + "%.5f".format(time_needed(2, matches(EVIL2, "a" * i))))