This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed, PATCH] ug_CN locale: Fix noexpr and yesexpr


        * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
        by including the first letters of nostr and yesexpr in the regexp.
        Also make it more readable by using ASCII where possible.

-- 
Mike FABIAN <mfabian@redhat.com>

>From da33d60bbec1279b7918bd8e4de82677575a32b4 Mon Sep 17 00:00:00 2001
From: Mike FABIAN <mfabian@redhat.com>
Date: Wed, 25 Oct 2017 08:34:21 +0200
Subject: [PATCH 08/19] ug_CN locale: Fix noexpr and yesexpr

	* localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
	by including the first letters of nostr and yesexpr in the regexp.
	Also make it more readable by using ASCII where possible.
---
 ChangeLog                | 6 ++++++
 localedata/locales/ug_CN | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e77574aa33..c6c99d91e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-10-25  Mike FABIAN  <mfabian@redhat.com>
+
+	* localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
+	by including the first letters of nostr and yesexpr in the regexp.
+	Also make it more readable by using ASCII where possible.
+
 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
 
 	* localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
diff --git a/localedata/locales/ug_CN b/localedata/locales/ug_CN
index 952750bbbc..761889cbdd 100644
--- a/localedata/locales/ug_CN
+++ b/localedata/locales/ug_CN
@@ -294,8 +294,8 @@ week 7;19971130;1
 END LC_TIME
 
 LC_MESSAGES
-yesexpr "<U005E><U005B><U002B><U0031><U0079><U0059><U005D>"
-noexpr  "<U005E><U005B><U002D><U0030><U006E><U004E><U005D>"
+yesexpr "^[+1yY<U06BE>]"
+noexpr  "^[-0nN<U064A>]"
 yesstr  "<U06BE><U06D5><U0626><U06D5>"
 nostr   "<U064A><U0627><U0642>"
 END LC_MESSAGES
-- 
2.14.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]