Created
June 14, 2014 19:39
-
-
Save boonebgorges/19f5aef3c406e7d3739b to your computer and use it in GitHub Desktop.
vim search and replace string for replacing extract() variables with reference to the $r array
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/\$\([a-z_]\{2,\}\)/$r['\1']/gc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment