This document describes the current stable version of Kombu (5.3). For development docs, go here.
Text utilitites - kombu.utils.text
¶
Text Utilities.
- kombu.utils.text.escape_regex(p: str, white: str = '') str [source]¶
Escape string for use within a regular expression.
- kombu.utils.text.fmatch_best(needle: str, haystack: Iterable[str], min_ratio: float = 0.6) str | None [source]¶
Fuzzy match - Find best match (scalar).