module documentation
Pattern-matching utility functions for Sphinx.
Class |
|
A pattern matcher for Multiple shell-style glob patterns. |
Function | compile |
Undocumented |
Function | get |
Get all file names in a directory, recursively. |
Function | patfilter |
Return the subset of the list ``names`` that match the regular expression (pattern) ``pat``. |
Function | patmatch |
Return if name matches the regular expression (pattern) ``pat```. Adapted from fnmatch module. |
Constant | DOTFILES |
Undocumented |
Function | _translate |
Translate a shell-style glob pattern to a regular expression. |
Variable | _pat |
Undocumented |
Get all file names in a directory, recursively. Filter file names by the glob-style include_patterns and exclude_patterns. The default values include all files ("**") and exclude nothing (""). Only files matching some pattern in *include_patterns* are included, and exclusions from *exclude_patterns* take priority over inclusions.
Parameters | |
dirname:str | Undocumented |
includeIterable[ | Undocumented |
excludeIterable[ | Undocumented |
Returns | |
Iterator[ | Undocumented |