to_regex# VariantFormat.to_regex()[source]# Returns a regular expression for the variant format. Return type: Pattern[str]