changeset 390 | 175a950470a9 |
child 424 | daf561a83ba6 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main_marking3/re_test7.scala Fri Jan 29 00:56:19 2021 +0000 @@ -0,0 +1,6 @@ +import CW8c._ + +val EVIL_urban = SEQ(STAR(STAR(CHAR('a'))), CHAR('b')) + +assert(matcher(EVIL_urban, "a" * 1000000) == false) +assert(matcher(EVIL_urban, "a" * 1000000 ++ "b") == true)