suricata_check.utils.regex_provider

The suricata_check.utils.regex_provider module provides a unified interface for regex operations.

Functions

get_regex_provider()

Returns the regex provider to be used.

Module Contents

suricata_check.utils.regex_provider.get_regex_provider()[source]

Returns the regex provider to be used.

If regex is installed, it will return that module. Otherwise, it will return the re module instead.