clarified split_thy_path;
authorwenzelm
Thu, 13 Jan 2011 17:30:52 +0100
changeset 41535 0112f14d75ec
parent 41534 f36cb6f233bd
child 41536 47fef6afe756
clarified split_thy_path;
src/Pure/Thy/thy_header.scala
--- a/src/Pure/Thy/thy_header.scala	Thu Jan 13 17:27:52 2011 +0100
+++ b/src/Pure/Thy/thy_header.scala	Thu Jan 13 17:30:52 2011 +0100
@@ -30,7 +30,7 @@
   /* file name */
 
   val Thy_Path1 = new Regex("([^/]*)\\.thy")
-  val Thy_Path2 = new Regex("(.*/)([^/]*)\\.thy")
+  val Thy_Path2 = new Regex("(.*)/([^/]*)\\.thy")
 
   def split_thy_path(path: String): Option[(String, String)] =
     path match {