data_helper.regex module¶
Regular expressions wrapper functions to streamline common use cases
-
data_helper.regex.wildcard_re(pattern, wildcard='*', escape='\\')[source]¶ Transform a wildcard pattern to a regular expressions pattern
Alphanumeric characters are preserved. All other characters are escaped except for asterisk which is replaced with ‘.*’
Parameters: Returns: Regular expressions pattern.
Return type: