Fixed a warning in the 4.2 branch.
authorSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 30 Sep 2008 14:50:05 +0000 (14:50 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 30 Sep 2008 14:50:05 +0000 (14:50 +0000)
backend.ml

index 535c549..dead06d 100644 (file)
@@ -41,7 +41,7 @@ class backendHandler dir_root (frontend_lst: frontendHandler list) =
 
      (** Regular expression that defines a legal script name. Filter out
        * temporary files using it *)
-     val file_regexp = Str.regexp "^[a-zA-Z][a-zA-Z0-9_\.\-]*$"
+     val file_regexp = Str.regexp "^[a-zA-Z][a-zA-Z0-9_'.''-']*$"
      val acl_file_regexp = Str.regexp ".*acl$"
 
      (** Somebody created a new directory *)