parameters: (name, pat)
return_statement: return _cache[pat].match(name) is not None
docstring: Test whether FILENAME matches PATTERN, including case.
  
      This is a version of fnmatch() which doesn't case-normalize
      its arguments.
docstring_summary: Test whether FILENAME matches PATTERN, including case.
docstring_tokens: Test whether FILENAME matches PATTERN including case .
function: def fnmatchcase(name, pat):
      """Test whether FILENAME matches PATTERN, including case.
  
      This is a version of fnmatch() which doesn't case-normalize
      its arguments.
      """
  
      if not pat in _cache:
          res = translate(pat)
          if len(_cache) >= _MAXCACHE:
              _cache.clear()
          _cache[pat] = re.compile(res)
      return _cache[pat].match(name) is not None
function_tokens: def fnmatchcase ( name , pat ) : if not pat in _cache : res = translate ( pat ) if len ( _cache ) >= _MAXCACHE : _cache . clear ( ) _cache [ pat ] = re . compile ( res ) return _cache [ pat ] . match ( name ) is not None