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