summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/unixpath.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/types/unixpath.pp b/types/unixpath.pp
index ec3bf7d..4cd6f01 100644
--- a/types/unixpath.pp
+++ b/types/unixpath.pp
@@ -1,2 +1,2 @@
# this regex rejects any path component that is a / or a NUL
-type Stdlib::Unixpath = Pattern[/^\/([^\/\0]+\/*)+$/]
+type Stdlib::Unixpath = Pattern[/^\/([^\/\0]+\/*)*$/]