зеркало из https://github.com/github/ruby.git
* enc/unicode.c: Activated :ascii flag for ASCII-only case conversion
(with Kimihito Matsui) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
445b015c3a
Коммит
b658249cef
|
@ -1,3 +1,8 @@
|
|||
Thu Feb 4 21:05:17 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||
|
||||
* enc/unicode.c: Activated :ascii flag for ASCII-only case conversion
|
||||
(with Kimihito Matsui)
|
||||
|
||||
Thu Feb 4 17:38:01 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* re.c (reg_set_source): make source string frozen without
|
||||
|
|
|
@ -645,7 +645,7 @@ onigenc_unicode_case_map(OnigCaseFoldType* flagP,
|
|||
}
|
||||
}
|
||||
}
|
||||
else if (code>=0x00C0) { /* deal with non-ASCII; nothing relevant below U+00C0 */
|
||||
else if (!(flags&ONIGENC_CASE_ASCII_ONLY) && code>=0x00C0) { /* deal with non-ASCII; nothing relevant below U+00C0 */
|
||||
if (code==0x0130) {
|
||||
if (flags&ONIGENC_CASE_DOWNCASE) {
|
||||
if (flags&ONIGENC_CASE_FOLD_TURKISH_AZERI)
|
||||
|
|
Загрузка…
Ссылка в новой задаче