We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1ff9956 + 51c9dc5 commit 2b2b387Copy full SHA for 2b2b387
types/unixpath.pp
@@ -1,2 +1,2 @@
1
# this regex rejects any path component that is a / or a NUL
2
-type Stdlib::Unixpath = Pattern[/^\/([^\/\0]+\/*)+$/]
+type Stdlib::Unixpath = Pattern[/^\/([^\/\0]+\/*)*$/]
0 commit comments