Actions
Bug #10990
closedbug in regex char class casefold for certain chars
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
1.8.7p374, 1.9.3p194, 2.0.0p481
Description
> "\u00c2" =~ /[\u00e0-\u00e5]/i
=> nil
> "\u00c2" =~ /[\u00e2]/i
=> nil
> "\u00c2" =~ /\u00e2/i
=> 0
The above is the result for 1.9.3p194.
- For 1.9.3p194, it is
nil, nil, 0
- For 1.8.7p374, it is
0, 0, nil
- For 2.0.0p481, it is
nil, 0, 0
Updated by gene91 (Haozhun Jin) over 10 years ago
The expected result is 0, 0, 0
Updated by nobu (Nobuyoshi Nakada) over 10 years ago
- Status changed from Open to Closed
2.0.0p643 works as expected.
1.8 and 1.9 had ended.
Actions
Like0
Like0Like0