escape dash in regular expression in genlocale script [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2020-08-18 23:22:25 +03:00
parent d4469ed469
commit 2c26fbf335

View file

@ -472,7 +472,7 @@ localeiso4217map = {}
localecurrencymap = {}
localenumberingmap = {}
# regular expressions
localeregex = re.compile('([^_|-|\.|@]+)+')
localeregex = re.compile('([^_|\-|\.|@]+)+')
# artificial entries
languagemap['AnyLanguage'] = {