re2.scala
changeset 59 b64e876832cc
parent 49 d2c6852ca8da
--- a/re2.scala	Mon Nov 05 20:31:58 2012 +0000
+++ b/re2.scala	Sun Nov 11 17:28:11 2012 +0000
@@ -79,7 +79,7 @@
 
 //n-times
 def NTIMES(r: Rexp, n: Int) : Rexp = n match {
-  case 0 => NULL
+  case 0 => EMPTY
   case 1 => r
   case n => SEQ(r, NTIMES(r, n - 1))
 }