On 9 February 2011 12:23, Abraham Varricatt
<[email protected]> wrote:
> In short, if I search with vacm* I get all the info I need. BUT, if I search
> with *vacm* it gives me nothing. The way I understand the '*' wildcard,
> empty should work too, right?
Remember that this is using 'regexp' style patterns, not filename
matching patterns.
So '*' means "zero or more of the preceding character"
Hence "vacm*" matches 'v', 'a', 'c' followed by a sequence
of any number of 'm's (including none)
With a pattern such as '*xyz', there isn't a preceding character for the '*'
modifier to apply to. I can't find anything that documents the behaviour
in this case, but I presume it's an automatic failure.
> Or do we do things differently with net-snmp ?
Try matching against '.*vacm.*' instead.
Dave
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders