Project

General

Profile

Backport #7974 » re_group_i.rb

Minimal test case - ged (Michael Granger), 02/27/2013 08:03 AM

 
# -*- syntax: ruby -*-
#encoding: utf-8

p(/(?i:a) B/ =~ "A B")
p(/(?i:a) B/ =~ "a B")
p(/(?i:a) B/i =~ "a b")
p(/(?i:a B)/ =~ "a B")
p(/(?i:a b)/ =~ "a B")

p(/B (?i:a)/ =~ "B A")
p(/B (?i:a)/ =~ "B a")

(1-1/2)