From patchwork Thu Oct 26 08:59:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike FABIAN X-Patchwork-Id: 23835 Received: (qmail 106857 invoked by alias); 26 Oct 2017 08:59:32 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 106848 invoked by uid 89); 26 Oct 2017 08:59:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Chinese X-HELO: mx1.redhat.com DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B13D7C051678 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@redhat.com From: Mike FABIAN To: GNU C Library Subject: [committed, PATCH] cmn_TW locale: Improve yesexpr and noexpr Date: Thu, 26 Oct 2017 10:59:28 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr, also check for Chinese characters. From d971f380029b888c9194663aa4373e1f6e1b9cad Mon Sep 17 00:00:00 2001 From: Mike FABIAN 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 + + * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr, + also check for Chinese characters. + 2017-10-25 Mike FABIAN * 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 "" -% ^[nN] -noexpr "" +yesexpr "^[+1yY]" +noexpr "^[-0nN]" % 是 yesstr "" % 不是 -- 2.14.2