summaryrefslogtreecommitdiff
path: root/types/unixpath.pp
blob: ec3bf7d0e53d5c1d59cefa9e328ff32ba0761456 (plain)
1
2
# this regex rejects any path component that is a / or a NUL
type Stdlib::Unixpath = Pattern[/^\/([^\/\0]+\/*)+$/]