src/Pure/System/isabelle_system.scala
changeset 31821 ce6be870a5d3
parent 31820 8199c9a42941
child 31822 80fd718796ce
equal deleted inserted replaced
31820:8199c9a42941 31821:ce6be870a5d3
   208 
   208 
   209 
   209 
   210   /* isabelle_path */
   210   /* isabelle_path */
   211 
   211 
   212   private val Platform_Root = new Regex("(?i)" +
   212   private val Platform_Root = new Regex("(?i)" +
   213     Pattern.quote(platform_root) + """(?:\\|\z)(.*)""")
   213     Pattern.quote(platform_root) + """(?:\\+|\z)(.*)""")
   214   private val Drive = new Regex("""([a-zA-Z]):\\*(.*)""")
   214   private val Drive = new Regex("""([a-zA-Z]):\\*(.*)""")
   215 
   215 
   216   def isabelle_path(platform_path: String): String =
   216   def isabelle_path(platform_path: String): String =
   217   {
   217   {
   218     if (Isabelle_System.is_cygwin) {
   218     if (Isabelle_System.is_cygwin) {