main_testing3/re_test6.scala
changeset 403 ffce7b61b446
parent 347 4de31fdc0d67
equal deleted inserted replaced
402:de59aa20a1dc 403:ffce7b61b446
     1 import CW8c._
     1 import M3._
     2 
     2 
     3 val EVIL_urban = SEQ(STAR(STAR(CHAR('a'))), CHAR('b'))
     3 val EVIL_urban = SEQ(STAR(STAR(CHAR('a'))), CHAR('b'))
     4 
     4 
     5 
     5 
     6 assert(simp(Iterator.iterate(ONE:Rexp)(r => SEQ(r, ONE | ONE)).drop(50).next) == ONE)
     6 assert(simp(Iterator.iterate(ONE:Rexp)(r => SEQ(r, ONE | ONE)).drop(50).next) == ONE)