From f982160ead05503667c0e27efdc09e24e8b39d15 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 18 Apr 2016 23:10:58 -0400 Subject: localedata: LC_MESSAGES.{yes,no}expr: add +1/-0 to all regexes [BZ #15263] A handful of regexes were allowing +1 for yesexpr and -0 for noexpr, and it's the i18n definition. Standardize all locales by allowing these language-independent values in them. Example change for en_US goes from ^[yY] to ^[+1yY], and from ^[nN] to ^[-0nN]. --- localedata/locales/km_KH | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'localedata/locales/km_KH') diff --git a/localedata/locales/km_KH b/localedata/locales/km_KH index e55d9acbde..5e2969fc89 100644 --- a/localedata/locales/km_KH +++ b/localedata/locales/km_KH @@ -1824,15 +1824,10 @@ week 7;19971130;1 END LC_TIME LC_MESSAGES - -yesstr "yes:YES:y:Y" - -nostr "no:NO:n:N" - -yesexpr "^[yY]([eE][sS])?" - -noexpr "^[nN][oO]?" - +yesexpr "^[+1yY]([eE][sS])?" +noexpr "^[-0nN][oO]?" +yesstr "yes:YES:y:Y" +nostr "no:NO:n:N" END LC_MESSAGES LC_PAPER -- cgit 1.4.1