search: fix wildcard to be properly anchored

Wildcard matches begin at the start of the string, not as a search, yet
I forgot that the regex logic uses search, not match, so when wildcard was
converted to fnmatch.translate, this behavior was changed. Change it back by
anchoring the fnmatch regular expression.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>