Created
October 22, 2012 23:40
-
-
Save nickjacob/3935569 to your computer and use it in GitHub Desktop.
vim regexp to convert 1.9 hash syntax to 1.8
This file contains 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
:%s/\s\([_a-z]*\):\s/:\1 => /gi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment