Make forAlias regex lazy (fixes #3846) (#3859)
Make forAlias regex lazy (fixes #3846) (#3859)

The current forAliasRE has the first rule greedy (`.*?`), which will
attempt to match whatever it can. This exposes a bug (#3846), where the
regex fails if the template happens to have " in " or " of " in its last
group. For instance, with the template `for key in [{body: 'Hey in
body'}]`, current regex will capture the last group as `body'}]` instead
of `[{body: 'Hey in body'}]`. This commit aims to fix this issue by
making the first rule lazy instead.
xueyaodeai/vue,gebilaoxiong/vue,Jinjiang/vue,leemotive/vue,leemotive/vue,lizhiyao/vue,xueyaodeai/vue,cnchanning/vue,Kingwl/vue,vuejs/vue,gebilaoxiong/vue,hanhongyuan/vue,Kingwl/vue,Jinjiang/vue,sreesirisha/GITMidtermexam,Ddder-FE/vue,pramudaprakash/GITHUB,greennyreborn/vue,KingMario/vue,leemotive/vue,gebilaoxiong/vue,hanhongyuan/vue,Hanks10100/vue,pramudaprakash/GITHUB,lizhiyao/vue,wushuyi/vue,Ddder-FE/vue,vuejs/vue,greennyreborn/vue,leemotive/vue,hanhongyuan/vue,xueyaodeai/vue,Kingwl/vue,hanhongyuan/vue,Jinjiang/vue,Hanks10100/vue,KingMario/vue,greennyreborn/vue,Jinjiang/vue,Hanks10100/vue,cnchanning/vue,sreesirisha/GITMidtermexam,vuejs/vue,vuejs/vue,optimizely/vue,Kingwl/vue,wushuyi/vue,lizhiyao/vue,Ddder-FE/vue,KingMario/vue,pramudaprakash/GITHUB,KingMario/vue,Hanks10100/vue,Ddder-FE/vue,sreesirisha/GITMidtermexam,greennyreborn/vue,xueyaodeai/vue,pramudaprakash/GITHUB,cnchanning/vue,sreesirisha/GITMidtermexam,lizhiyao/vue