changed the method used for dropping captures in multiline comments