From d971f380029b888c9194663aa4373e1f6e1b9cad Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 25 Oct 2017 09:58:59 +0200 Subject: [PATCH] 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 "" % 不是