X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fstdlib%2Ftypes%2Fcompat%2Fabsolute_path.pp;fp=3rdparty%2Fmodules%2Fstdlib%2Ftypes%2Fcompat%2Fabsolute_path.pp;h=60f9c861f14cd5b39b2edc4af5367d53c7a5f041;hb=131e09855e065be940e104d9ab0f18940cc76257;hp=d11784e0de67b754e2919e56dab08cafb5da87f3;hpb=407d322498f4fde815abf381007fbecfe5c10b2b;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/stdlib/types/compat/absolute_path.pp b/3rdparty/modules/stdlib/types/compat/absolute_path.pp index d11784e0d..60f9c861f 100644 --- a/3rdparty/modules/stdlib/types/compat/absolute_path.pp +++ b/3rdparty/modules/stdlib/types/compat/absolute_path.pp @@ -4,4 +4,4 @@ # slash = '[\\\\/]' # name = '[^\\\\/]+' # %r!^(([A-Z]:#{slash})|(#{slash}#{slash}#{name}#{slash}#{name})|(#{slash}#{slash}\?#{slash}#{name}))!i, -type Stdlib::Compat::Absolute_path = Variant[Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], Pattern[/^\//]] +type Stdlib::Compat::Absolute_path = Variant[Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], Pattern[/^\//]] # lint:ignore:140chars