QDoc: Fix wildcard matching for 'excludefiles' configuration variable
Wildcard patterns in excludefiles were converted to regular expressions
using anchored matching by default, so a pattern such as '*excluded*'
would only match if the entire filename equaled the pattern — not if the
pattern appeared anywhere within the name.
Switch to QRegularExpression::UnanchoredWildcardConversion so that
patterns match anywhere within the filename, consistent with the
documented behavior.
Pick-to: 6.12
Fixes: QTBUG-147136
Change-Id: Ida1bd3fbcc63b4121074cc80cdabe4edcf1d9c2c
Reviewed-by: Paul Wicking <paul.wicking@qt.io>