progs/scala/tests.scala
changeset 312 8b0b414e71b0
parent 245 b16702bb6242
--- a/progs/scala/tests.scala	Sun Feb 17 22:15:06 2019 +0000
+++ b/progs/scala/tests.scala	Wed Feb 20 00:00:30 2019 +0000
@@ -241,8 +241,8 @@
 }
 
 //test case
-//println(Parser("a|(bc)*").Regex())
-
+println(Parser("a|(bc)*").Regex())
+println(Parser("(a|b)*(babab(a|b)*bab|bba(a|b)*bab)(a|b)*").Regex())
 
 def process_line(line: String) : String = {
   if (line.head == '#') "#" else