diff -r e74c696821a2 -r 5deefcc8cffa progs/re1.scala --- a/progs/re1.scala Tue Aug 23 23:12:55 2016 +0200 +++ b/progs/re1.scala Tue Sep 20 12:24:29 2016 +0100 @@ -56,6 +56,8 @@ // the evil regular expression a?{n} a{n} def EVIL1(n: Int) = SEQ(NTIMES(OPT(CHAR('a')), n), NTIMES(CHAR('a'), n)) + +// the evil regular expression (a*)*b val EVIL2 = SEQ(STAR(CHAR('a')), CHAR('b')) //for measuring time