diff options
Diffstat (limited to 'types/compat/re.pp')
-rw-r--r-- | types/compat/re.pp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/types/compat/re.pp b/types/compat/re.pp new file mode 100644 index 0000000..e4b5f30 --- /dev/null +++ b/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. |