VMware Solutions Discussions

vscan question

rkaramchedu1
3,362 Views

I have a question about vscan and wildcards. I looked thru some of the KB articles, Bug Reports and Best Practices (Links below)

http://communities.netapp.com/docs/DOC-3312

http://now.netapp.com/NOW/cgi-bin/bol?Type=Detail&Display=81989

https://now.netapp.com/Knowledgebase/solutionarea.asp?id=kb32628

The BugReport indicates that using a single "?" as a wildcard matches zero or any "remaining" characters. For e.g. HT? will match HT, HTM, HTML, HTX etc..

The KB articles indicates that "???" has special meaning and seems to suggest that it works just like "*". So "???" should match any extension (any number of letters and any letters)

So what's the difference between a single "?" and "???". Both should match any number of characters and any letters? Am I overthinking this? I am looking for a wildcard pattern that is all inclusive and want to specify specific exclusions in the exclude list.

thx

3 REPLIES 3

rkaramchedu1
3,362 Views

**bump**

scottgelb
3,362 Views

I don't have a scanner to test but a single "?" should match any file with a single byte extension not all extensions... ".c" should scan but not .c++ ... do you have a vscan server setup to test with?

rkaramchedu1
3,362 Views

I would have thought so myself...However the bug report threw me off. Acc. to bug report and the workaround explanation, a single
"?" matches one AND more characters. I do not have a vscan server to test..

Public