changeset 422 | 5deefcc8cffa |
parent 415 | 4ae59fd3b174 |
child 424 | 1129024b26d5 |
--- 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