module documentation

Provides a modified fnmatch function specialized for python objects fully qualified name pattern matching.

Special patterns are:

    **      matches everything (recursive)
    *       matches everything except "." (one level ony)
    ?       matches any single character
    [seq]   matches any character in seq
    [!seq]  matches any char not in seq
Function qnmatch Test whether name matches pattern.
Function translate Translate a shell PATTERN to a regular expression. There is no way to quote meta-characters.
Function _compile_pattern Undocumented
def qnmatch(name: str, pattern: str) -> bool: (source)

Test whether name matches pattern.

def translate(pat: str) -> str: (source)

Translate a shell PATTERN to a regular expression. There is no way to quote meta-characters.

@functools.lru_cache(maxsize=256, typed=True)
def _compile_pattern(pat: str) -> Callable[[str], Any]: (source)

Undocumented