mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* string.c, enc/unicode.c: Disassociating ONIGENC_CASE_FOLD flag from
ONIGENC_CASE_DOWNCASE. (with Kimihito Matsui) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d475347990
commit
2ca7569c6d
3 changed files with 8 additions and 2 deletions
|
@ -651,7 +651,7 @@ onigenc_unicode_case_map(OnigCaseFoldType* flagP,
|
|||
}
|
||||
}
|
||||
else if (code>='A' && code<='Z') {
|
||||
if (flags&ONIGENC_CASE_DOWNCASE) {
|
||||
if (flags&(ONIGENC_CASE_DOWNCASE|ONIGENC_CASE_FOLD)) {
|
||||
MODIFIED;
|
||||
if (flags&ONIGENC_CASE_FOLD_TURKISH_AZERI && code=='I')
|
||||
code = DOTLESS_i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue