class_docstr: A pattern matcher for Multiple shell-style glob patterns.
  
  Note: this modifies the patterns to work with copy_asset().
        For example, "**/index.rst" matches with "index.rst"
code: def match(self, string: str) -> bool:
      string = canon_path(string)
      return any(pat(string) for pat in self.patterns)
  
file_path: sphinx/sphinx/util/matching.py
imports: from __future__ import annotations
  import os.path
  import re
  from typing import TYPE_CHECKING, Callable
  from sphinx.util.osutil import canon_path, path_stabilize
label_desc: Use image node_id 3 for calling the Matcher obj's underlying member method code with example usage: obj.match(string) and returns: any