Test case for changed regexp matcher behaviour