Skip to content

Commit 6d82827

Browse files
committed
Update REFERENCE.md regarding type changes
1 parent 78d7358 commit 6d82827

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

REFERENCE.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6722,13 +6722,13 @@ Alias of `Variant[Stdlib::Windowspath, Stdlib::Unixpath]`
67226722

67236723
Type to match base32 String
67246724

6725-
Alias of `Pattern[/^[a-z2-7]+={,6}$/, /^[A-Z2-7]+={,6}$/]`
6725+
Alias of `Pattern[/\A[a-z2-7]+={,6}\z/, /\A[A-Z2-7]+={,6}\z/]`
67266726

67276727
### Stdlib::Base64
67286728

67296729
Type to match base64 String
67306730

6731-
Alias of `Pattern[/^[a-zA-Z0-9\/\+]+={,2}$/]`
6731+
Alias of `Pattern[/\A[a-zA-Z0-9\/\+]+={,2}\z/]`
67326732

67336733
### Stdlib::Compat::Absolute_path
67346734

@@ -6870,34 +6870,34 @@ Alias of `Enum['stopped', 'running']`
68706870

68716871
See `man chmod.1` for the regular expression for symbolic mode
68726872

6873-
Alias of `Pattern[/^(([0-7]{1,4})|(([ugoa]*([-+=]([rwxXst]*|[ugo]))+|[-+=][0-7]+)(,([ugoa]*([-+=]([rwxXst]*|[ugo]))+|[-+=][0-7]+))*))$/]`
6873+
Alias of `Pattern[/\A(([0-7]{1,4})|(([ugoa]*([-+=]([rwxXst]*|[ugo]))+|[-+=][0-7]+)(,([ugoa]*([-+=]([rwxXst]*|[ugo]))+|[-+=][0-7]+))*))\z/]`
68746874

68756875
### Stdlib::Filesource
68766876

68776877
Validate the source parameter on file types
68786878

68796879
Alias of `Variant[Stdlib::Absolutepath, Stdlib::HTTPUrl, Pattern[
6880-
/^file:\/\/\/([^\/\0]+(\/)?)+$/,
6881-
/^puppet:\/\/(([\w-]+\.?)+)?\/([^\/\0]+(\/)?)+$/,
6880+
/\Afile:\/\/\/([^\n\/\0]+(\/)?)+\z/,
6881+
/\Apuppet:\/\/(([\w-]+\.?)+)?\/([^\n\/\0]+(\/)?)+\z/,
68826882
]]`
68836883

68846884
### Stdlib::Fqdn
68856885

68866886
The Stdlib::Fqdn data type.
68876887

6888-
Alias of `Pattern[/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$/]`
6888+
Alias of `Pattern[/\A(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])\z/]`
68896889

68906890
### Stdlib::HTTPSUrl
68916891

68926892
The Stdlib::HTTPSUrl data type.
68936893

6894-
Alias of `Pattern[/(?i:^https:\/\/)/]`
6894+
Alias of `Pattern[/(?i:\Ahttps:\/\/.*\z)/]`
68956895

68966896
### Stdlib::HTTPUrl
68976897

68986898
The Stdlib::HTTPUrl data type.
68996899

6900-
Alias of `Pattern[/(?i:^https?:\/\/)/]`
6900+
Alias of `Pattern[/(?i:\Ahttps?:\/\/.*\z)/]`
69016901

69026902
### Stdlib::Host
69036903

@@ -6993,7 +6993,7 @@ Alias of `Pattern[/\A[[:xdigit:]]{1,4}(:[[:xdigit:]]{1,4}){7}\z/]`
69936993

69946994
A type for a MAC address
69956995

6996-
Alias of `Pattern[/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/, /^([0-9A-Fa-f]{2}[:-]){19}([0-9A-Fa-f]{2})$/]`
6996+
Alias of `Pattern[/\A([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})\z/, /\A([0-9A-Fa-f]{2}[:-]){19}([0-9A-Fa-f]{2})\z/]`
69976997

69986998
### Stdlib::ObjectStore
69996999

@@ -7005,13 +7005,13 @@ Alias of `Variant[Stdlib::ObjectStore::GSUri, Stdlib::ObjectStore::S3Uri]`
70057005

70067006
The Stdlib::ObjectStore::GSUri data type.
70077007

7008-
Alias of `Pattern[/^gs:\/\//]`
7008+
Alias of `Pattern[/\Ags:\/\/.*\z/]`
70097009

70107010
### Stdlib::ObjectStore::S3Uri
70117011

70127012
The Stdlib::ObjectStore::S3Uri data type.
70137013

7014-
Alias of `Pattern[/^s3:\/\//]`
7014+
Alias of `Pattern[/\As3:\/\/.*\z/]`
70157015

70167016
### Stdlib::Port
70177017

@@ -7041,13 +7041,13 @@ Alias of `Enum['kern', 'user', 'mail', 'daemon', 'auth', 'syslog', 'lpr', 'news'
70417041

70427042
this regex rejects any path component that does not start with "/" or is NUL
70437043

7044-
Alias of `Pattern[/^\/([^\/\0]+\/*)*$/]`
7044+
Alias of `Pattern[/\A\/([^\n\/\0]+\/*)*\z/]`
70457045

70467046
### Stdlib::Windowspath
70477047

70487048
The Stdlib::Windowspath data type.
70497049

7050-
Alias of `Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/]`
7050+
Alias of `Pattern[/\A(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+)).*\z/]`
70517051

70527052
### Stdlib::Yes_no
70537053

0 commit comments

Comments
 (0)