diff --git a/socials_util/__init__.py b/socials_util/__init__.py index bcddf9f..3df567e 100644 --- a/socials_util/__init__.py +++ b/socials_util/__init__.py @@ -439,7 +439,7 @@ def determine_social_from_url_internally( # Regexes for social_site_url_regex, social_site_id in REGEXES: - if m := re.fullmatch(social_site_url_regex, url, re.I): + if m := re.fullmatch(social_site_url_regex, url, re.IGNORECASE): groups = m.groups() username_or_id = groups[0] if len(groups) > 0 else None if username_or_id in DISALLOWED_IDENTIFIERS: