about summary refs log tree commit diff
path: root/localedata/locales/zh_SG
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/zh_SG
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/zh_SG')
-rw-r--r--localedata/locales/zh_SG29
1 files changed, 4 insertions, 25 deletions
diff --git a/localedata/locales/zh_SG b/localedata/locales/zh_SG
index 9972ca974b..8b85cd6ad1 100644
--- a/localedata/locales/zh_SG
+++ b/localedata/locales/zh_SG
@@ -143,31 +143,10 @@ END LC_TIME
 
 
 LC_MESSAGES
-% This is the POSIX Locale definition for the LC_MESSAGES category
-% generated by IBM Basic CountryPack Transformer.
-% These are generated based on XML base Locale definition file
-% for IBM Class for Unicode.
-%
-% ^[yY]
-yesexpr     "<U005E><U005B><U0079><U0059><U005D>"
-
-% Syntax on Unicode Regular Expression Guidelines TR#18
-% yesexpr     "<U005E><U005B><U0079><U0059><U005D>"
-
-%
-% ^[nN]
-noexpr      "<U005E><U005B><U006E><U004E><U005D>"
-
-% Syntax on Unicode Regular Expression Guidelines TR#18
-% noexpr      "<U005E><U005B><U006E><U004E><U005D>"
-%
-
-% Yes
-yesstr      "<U0059><U0065><U0073>"
-%
-% No
-nostr       "<U004E><U006F>"
-%
+yesexpr "<U005E><U005B><U002B><U0031><U0079><U0059><U005D>"
+noexpr  "<U005E><U005B><U002D><U0030><U006E><U004E><U005D>"
+yesstr  "<U0059><U0065><U0073>"
+nostr   "<U004E><U006F>"
 END LC_MESSAGES