projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update stdlib
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
stdlib
/
types
/
compat
/
re.pp
diff --git a/3rdparty/modules/stdlib/types/compat/re.pp
b/3rdparty/modules/stdlib/types/compat/re.pp
new file mode 100644
(file)
index 0000000..
e4b5f30
--- /dev/null
+++ b/
3rdparty/modules/stdlib/types/compat/re.pp
@@ -0,0
+1,3
@@
+# Emulate the validate_re function
+# validate_re(value, re) translates to Pattern[re], which is not directly mappable as a type alias, but can be specified as Pattern[re].
+# Therefore this needs to be translated directly.