mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
445b015c3a
commit
b658249cef
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
Thu Feb 4 17:38:01 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* re.c (reg_set_source): make source string frozen without
|
* 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 (code==0x0130) {
|
||||||
if (flags&ONIGENC_CASE_DOWNCASE) {
|
if (flags&ONIGENC_CASE_DOWNCASE) {
|
||||||
if (flags&ONIGENC_CASE_FOLD_TURKISH_AZERI)
|
if (flags&ONIGENC_CASE_FOLD_TURKISH_AZERI)
|
||||||
|
|
Loading…
Reference in a new issue