[#68478] Looking for MRI projects for Ruby Google Summer of Code 2015 — Tony Arcieri <bascule@...>

Hi ruby-core,

10 messages 2015/03/10

[ruby-core:68581] [Ruby trunk - Bug #10990] [Open] bug in regex char class casefold for certain chars

From: haozhun.jin@...
Date: 2015-03-20 19:27:17 UTC
List: ruby-core #68581
Issue #10990 has been reported by Haozhun Jin.

----------------------------------------
Bug #10990: bug in regex char class casefold for certain chars
https://bugs.ruby-lang.org/issues/10990

* Author: Haozhun Jin
* Status: Open
* Priority: Normal
* Assignee:=20
* ruby -v: 1.8.7p374, 1.9.3p194, 2.0.0p481
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
~~~
> "\u00c2" =3D~ /[\u0=C2=AD0e0-\u00e5=C2=AD]/i
=3D> nil
> "\u00c2" =3D~ /[\u0=C2=AD0e2]/i
=3D> nil
> "\u00c2" =3D~ /\u00=C2=ADe2/i
=3D> 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`



--=20
https://bugs.ruby-lang.org/

In This Thread

Prev Next