From: gotoken@... Date: 2018-08-27T06:31:12+00:00 Subject: [ruby-core:88674] [Ruby trunk Bug#13671] Regexp with lookbehind and case-insensitivity raises RegexpError only on strings with certain characters Issue #13671 has been updated by gotoken (Kentaro Goto). Thanks shyouhei for your pointing out. I imagine another Rexexp option, say `//I`, which is almost the same as `//i` except for never-applying SpecialCasing mapping. This change extends Unicode matching indeed but does not introduce incompatibilities, IMHO. A difficulty is the implementation is on the upstream library and cruby is just a user. ---------------------------------------- Bug #13671: Regexp with lookbehind and case-insensitivity raises RegexpError only on strings with certain characters https://bugs.ruby-lang.org/issues/13671#change-73731 * 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") { /(?