diff --git a/tests/test_data_languages.py b/tests/test_data_languages.py index 252d081b..56c218ac 100644 --- a/tests/test_data_languages.py +++ b/tests/test_data_languages.py @@ -83,7 +83,7 @@ "tlh_Latn": "Klingon is an artifical language.", } -LANGUAGE_NAME_REGEX = "^[-'’ʼ\p{L} ]+(, [-'’ʼ\p{L}/ ]+)?( [(][-'’ʼ\p{L} ]+[)])?$" +LANGUAGE_NAME_REGEX = r"^[-'’ʼ\p{L} ]+(, [-'’ʼ\p{L}/ ]+)?( [(][-'’ʼ\p{L} ]+[)])?$" # Some scripts have abbreviated names for reference in language names that are # sufficient in context. If an alternate is listed here, it should be used # universally and consistently across all language names.