duck.utils.wildcardΒΆ
Module ContentsΒΆ
FunctionsΒΆ
Filters a list of strings based on a wildcard pattern. |
APIΒΆ
- duck.utils.wildcard.process_wildcards(pattern: str, strings: list[str]) Optional[list[str]][source]ΒΆ
Filters a list of strings based on a wildcard pattern.
- Parameters:
pattern β The wildcard pattern to match against.
strings β A list of strings to use
- Returns:
A list of strings that match the pattern.