marking4/re_test6.scala
changeset 288 65731df141a5
parent 245 975d34506e88
equal deleted inserted replaced
287:c493eaba6018 288:65731df141a5
     1 
     1 import CW9c._
     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)