diff options
author | Mike FABIAN <mfabian@redhat.com> | 2017-10-25 09:58:59 +0200 |
---|---|---|
committer | Mike FABIAN <mfabian@redhat.com> | 2017-10-25 10:49:36 +0200 |
commit | d971f380029b888c9194663aa4373e1f6e1b9cad (patch) | |
tree | ec18796c858f9cad90e9120711a8d1d0709831f7 | |
parent | effc9e1d50912d4bc58e189ed30017bb596878b9 (diff) | |
download | glibc-d971f380029b888c9194663aa4373e1f6e1b9cad.tar.gz glibc-d971f380029b888c9194663aa4373e1f6e1b9cad.tar.xz glibc-d971f380029b888c9194663aa4373e1f6e1b9cad.zip |
cmn_TW locale: Improve yesexpr and noexpr
* localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr, also check for Chinese characters.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | 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,5 +1,10 @@ 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, match also for the contents of yesstr and nostr. As the first letter of yesstr and nostr is equal, checking only for the first letter 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>" % 不是 |