about summary refs log tree commit diff
path: root/localedata/locales/km_KH
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-18 23:10:58 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-23 03:41:56 -0400
commitf982160ead05503667c0e27efdc09e24e8b39d15 (patch)
tree4852482f4e80291bca7ad9236438b10ed43796e3 /localedata/locales/km_KH
parentebf01e8334522a34c66f28322764d418d9b1c63e (diff)
downloadglibc-f982160ead05503667c0e27efdc09e24e8b39d15.tar.gz
glibc-f982160ead05503667c0e27efdc09e24e8b39d15.tar.xz
glibc-f982160ead05503667c0e27efdc09e24e8b39d15.zip
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].
Diffstat (limited to 'localedata/locales/km_KH')
-rw-r--r--localedata/locales/km_KH13
1 files changed, 4 insertions, 9 deletions
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