This document is for Kombu's development version, which can be significantly different from previous releases. Get the stable docs here: 4.1.
Text utilitites - kombu.utils.text
¶
Text Utilities.
-
kombu.utils.text.
escape_regex
(p, white=u'')[source]¶ Escape string for use within a regular expression.
-
kombu.utils.text.
fmatch_best
(needle, haystack, min_ratio=0.6)[source]¶ Fuzzy match - Find best match (scalar).