Skip to content

Instantly share code, notes, and snippets.

@capaj
Created June 13, 2017 18:13
Show Gist options
  • Save capaj/cd42acb66f0de73a46fec55410df1093 to your computer and use it in GitHub Desktop.
Save capaj/cd42acb66f0de73a46fec55410df1093 to your computer and use it in GitHub Desktop.
useful regexps when dealing with an old angular codebase

replace: angular.forEach\((\w*), with $1.forEach(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment