This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[committed, PATCH] cmn_TW locale: Improve yesexpr and noexpr
- From: Mike FABIAN <mfabian at redhat dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 26 Oct 2017 10:59:28 +0200
- Subject: [committed, PATCH] cmn_TW locale: Improve yesexpr and noexpr
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=mfabian at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B13D7C051678
* localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
also check for Chinese characters.
--
Mike FABIAN <mfabian@redhat.com>
>From d971f380029b888c9194663aa4373e1f6e1b9cad Mon Sep 17 00:00:00 2001
From: Mike FABIAN <mfabian@redhat.com>
Date: Wed, 25 Oct 2017 09:58:59 +0200
Subject: [PATCH 13/19] cmn_TW locale: Improve yesexpr and noexpr
* localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
also check for Chinese characters.
---
ChangeLog | 5 +++++
localedata/locales/cmn_TW | 6 ++----
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 337af44277..5c9bf7414f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-25 Mike FABIAN <mfabian@redhat.com>
+
+ * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
+ also check for Chinese characters.
+
2017-10-25 Mike FABIAN <mfabian@redhat.com>
* localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
diff --git a/localedata/locales/cmn_TW b/localedata/locales/cmn_TW
index 03364963db..30449b19c9 100644
--- a/localedata/locales/cmn_TW
+++ b/localedata/locales/cmn_TW
@@ -169,10 +169,8 @@ measurement 1
END LC_MEASUREMENT
LC_MESSAGES
-% ^[yY]
-yesexpr "<U005E><U005B><U0079><U0059><U005D>"
-% ^[nN]
-noexpr "<U005E><U005B><U006E><U004E><U005D>"
+yesexpr "^[+1yY<U662F>]"
+noexpr "^[-0nN<U4E0D><U5426>]"
% æ?¯
yesstr "<U662F>"
% ��
--
2.14.2