From: duerst@... Date: 2018-08-29T10:20:11+00:00 Subject: [ruby-core:88729] [Ruby trunk Bug#13671] Regexp with lookbehind and case-insensitivity raises RegexpError only on strings with certain characters Issue #13671 has been updated by duerst (Martin D��rst). gotoken (Kentaro Goto) wrote: > For example, `"ss"` and `"st"` are mapped `"��"` (`"\u00DF"`) and `"���"` (`"\uFB06"`). > Those combinations are listed in ftp://ftp.unicode.org/Public/UNIDATA/SpecialCasing.txt > > By the way, this expansion by `//i` option looks over kill for me. > I wish case sensitivity and SpecialCasing mapping were separated... I still have to verify this, but currently I strongly suspect that the problem is NOT in SpecialCasing, but in how Onigmo (/Oniguruma?) implement it. ---------------------------------------- Bug #13671: Regexp with lookbehind and case-insensitivity raises RegexpError only on strings with certain characters https://bugs.ruby-lang.org/issues/13671#change-73785 * Author: dschweisguth (Dave Schweisguth) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.4.1 * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- Here is a test program: ~~~ ruby def test(description) begin yield puts "#{description} is OK" rescue RegexpError puts "#{description} raises RegexpError" end end test("ass, case-insensitive, special") { /(?