ObjectEnumeratorSettings.NameFilter - What kind of comparison is made?

Hello,

I have noticed that the default value for the ObjectEnumeratorSettings.NameFilter property is a star *.

Does that imply that filters are not simply made by an equality comparer? If so, what are the rules (I have my fingers crossed that this is a Regex!).

The documentation does not mention anything related to the * for this property.

Thank you,

Hi @scudelari,

ObjectEnumeratorSettings uses simple case insensitive wildcard matching. A question mark (?) in the
pattern matches a single character. An asterisk (*) in the pattern matches zero or more occurrences of any character.

– Dale

Thank you, @dale. That is really helpful.

I wish you happy holidays.