progs/re2.scala
changeset 441 028816884f70
parent 440 e14cd32ad497
child 453 36e5752fa191
--- 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))))