Skip to content

Instantly share code, notes, and snippets.

@tiagoefmoraes
Created August 29, 2013 20:09
Show Gist options
  • Save tiagoefmoraes/6382815 to your computer and use it in GitHub Desktop.
Save tiagoefmoraes/6382815 to your computer and use it in GitHub Desktop.
convert ruby hash syntax with RubyMine Regex Replacer
=>(\S) with => $1
([^<\s])=> with $1 =>
(?<!:):([\w\d_]+)(\s*)=> with $1:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment