Skip to content

Commit

Permalink
Fix SonarCloud security hotspots (attempt #2) (#1720)
Browse files Browse the repository at this point in the history
  • Loading branch information
arkid15r committed Mar 8, 2024
1 parent d7a617d commit 2c6c672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ def test_supported_countries_table(self):
country_subdivisions_aliases = {}
country_supported_languages = {}
country_supported_categories = {}
subdivision_group_re = re.compile("\w+: ([\s\w,*()]+)")
subdivision_group_re = re.compile(r"\w+: ([^:]+)")
subdivision_and_aliases_re = re.compile(r",(?![^()]*\))")
subdivision_aliases_re = re.compile(r"(.*?)\s\((.*?)\)")
subdivision_aliases_re = re.compile(r"(.*?)\s\(([^()]*)\)")

table_content = [
line.strip()
Expand Down

0 comments on commit 2c6c672

Please sign in to comment.