(PUP-1811) Make 'in' set match vars when regexp is used to match