mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* expand tabs.
This commit is contained in:
parent
77440e949b
commit
04fd98d596
1 changed files with 2 additions and 2 deletions
4
string.c
4
string.c
|
@ -6592,8 +6592,8 @@ rb_str_ascii_casemap(VALUE source, VALUE target, OnigCaseFoldType *flags, rb_enc
|
||||||
}
|
}
|
||||||
|
|
||||||
length_or_invalid = onigenc_ascii_only_case_map(flags,
|
length_or_invalid = onigenc_ascii_only_case_map(flags,
|
||||||
&source_current, source_end,
|
&source_current, source_end,
|
||||||
target_current, target_end, enc);
|
target_current, target_end, enc);
|
||||||
if (length_or_invalid < 0)
|
if (length_or_invalid < 0)
|
||||||
rb_raise(rb_eArgError, "input string invalid");
|
rb_raise(rb_eArgError, "input string invalid");
|
||||||
if (CASEMAP_DEBUG && length_or_invalid != old_length) {
|
if (CASEMAP_DEBUG && length_or_invalid != old_length) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue