parameters: (pattern)
docstring: Factory for :class:`Matcher` instances; returns a :class:`Matcher`
          suitable for matching the supplied pattern
docstring_summary: Factory for :class:`Matcher` instances; returns a :class:`Matcher`
          suitable for matching the supplied pattern
docstring_tokens: Factory for : class : Matcher instances ; returns a : class : Matcher suitable for matching the supplied pattern
function: def create(pattern):
          """Factory for :class:`Matcher` instances; returns a :class:`Matcher`
          suitable for matching the supplied pattern"""
          if "?" in pattern or "*" in pattern:
              return FNMatcher(pattern)
          else:
              return ConstantMatcher(pattern)
function_tokens: def create ( pattern ) : if "?" in pattern or "*" in pattern : return FNMatcher ( pattern ) else : return ConstantMatcher ( pattern )