Created
June 7, 2014 07:26
-
-
Save larsar/bc43b7f508b87fe8a9e1 to your computer and use it in GitHub Desktop.
Regex for replacing global variable with let in specs in RubyMine.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Search: @(\S*)\s= | |
Replace: let(:$1) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment