add regression test for fixing contains with correct quoted regexp