fnmatch
fnmatch — Unix filename pattern matching
Source code: Lib/fnmatch.py
This module provides support for Unix shell-style wildcards, which are not the same as regular expressions (which are documented in the re
module). The special characters used in shell-style wildcards are:
Pattern | Meaning |
---|---|
* | matches everything |
? | matches any single character |