| changeset 759 | 636ad159b4eb |
| parent 745 | 905b60a029bf |
| child 765 | b66602e0b42d |
--- a/progs/matcher/re1.sc Fri Sep 18 00:34:47 2020 +0100 +++ b/progs/matcher/re1.sc Mon Sep 21 10:44:48 2020 +0100 @@ -17,6 +17,7 @@ case class SEQ(r1: Rexp, r2: Rexp) extends Rexp // sequence case class STAR(r: Rexp) extends Rexp // star + // nullable function: tests whether a regular // expression can recognise the empty string def nullable(r: Rexp) : Boolean = r match {