Skip to content

Instantly share code, notes, and snippets.

@imageaid
Created July 28, 2013 23:35
Show Gist options
  • Save imageaid/6100726 to your computer and use it in GitHub Desktop.
Save imageaid/6100726 to your computer and use it in GitHub Desktop.
RubyMine regular expression to convert Ruby 1. hashes to the badass Ruby 1.9+ hashes. Can be used in RubyMine's Find/Replace option on a file.
Find -- :([a-z\_]*) =>
Replace -- $1:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment