Allow for array types in model signatures

This commit is contained in:
Joe Farebrother
2021-02-25 11:40:48 +00:00
parent caa6f00292
commit 41b7db144d

View File

@@ -222,7 +222,7 @@ module CsvValidation {
not name.regexpMatch("[a-zA-Z0-9_]*") and
msg = "Dubious name \"" + name + "\" in " + pred + " model."
or
not signature.regexpMatch("|\\([a-zA-Z0-9_\\.\\$<>,]*\\)") and
not signature.regexpMatch("|\\([a-zA-Z0-9_\\.\\$<>,\\[\\]]*\\)") and
msg = "Dubious signature \"" + signature + "\" in " + pred + " model."
or
not ext.regexpMatch("|Annotated") and