Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \{\{\s*#each ([a-zA-Z0-9]+) in ([a-zA-Z0-9]+)( itemController="[a-zA-Z0-9]+")?\s*\}\}
- {{#each \2\3 as |\1|}}
- ## Or in vim
- :s/\{\{\s*#each ([a-zA-Z0-9]+) in ([a-zA-Z0-9]+)( itemController="[a-zA-Z0-9]+")?\s*\}\}/{{#each \2\3 as |\1|}}/g
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement