summaryrefslogtreecommitdiff
path: root/types/unixpath.pp
diff options
context:
space:
mode:
Diffstat (limited to 'types/unixpath.pp')
-rw-r--r--types/unixpath.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/types/unixpath.pp b/types/unixpath.pp
index 76f2c17..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]+\/*)*$/]