diff --git a/ql/lib/semmle/go/dataflow/ExternalFlow.qll b/ql/lib/semmle/go/dataflow/ExternalFlow.qll index 68b88118355..77a0c07ec17 100644 --- a/ql/lib/semmle/go/dataflow/ExternalFlow.qll +++ b/ql/lib/semmle/go/dataflow/ExternalFlow.qll @@ -258,10 +258,10 @@ module CsvValidation { or summaryModel(namespace, type, _, name, signature, ext, _, _, _) and pred = "summary" | - not namespace.regexpMatch("[a-zA-Z0-9_\\.]+") and + not namespace.regexpMatch("[a-zA-Z0-9_\\./]+") and msg = "Dubious namespace \"" + namespace + "\" in " + pred + " model." or - not type.regexpMatch("[a-zA-Z0-9_\\$<>]+") and + not type.regexpMatch("[a-zA-Z0-9_\\$<>]*") and msg = "Dubious type \"" + type + "\" in " + pred + " model." or not name.regexpMatch("[a-zA-Z0-9_]*") and