git://git.onelab.eu
/
vsys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a6e441
)
Vsys scripts should be allowed to contain '-'.
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Thu, 19 Jun 2008 19:28:31 +0000
(19:28 +0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Thu, 19 Jun 2008 19:28:31 +0000
(19:28 +0000)
backend.ml
patch
|
blob
|
history
diff --git
a/backend.ml
b/backend.ml
index
6743f8c
..
2f964ef
100644
(file)
--- a/
backend.ml
+++ b/
backend.ml
@@
-46,7
+46,7
@@
class backendHandler dir_root (frontend_lst: frontendHandler list) =
(** Regular expression that defines a legal script name. Filter out
* temporary files using this *)
- 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$"
val dir_regexp = Str.regexp "^dir_";