[committed] ug_CN locale: Fix noexpr and yesexpr

Message ID s9dh8umguku.fsf@taka.site
State Committed
Headers

Commit Message

Mike FABIAN Oct. 26, 2017, 8:52 a.m. UTC
  * 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.
  

Patch

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