Add test for mixing foreaches and regexes
Move comment