Categories English Regular Expressions Convert old-style Ruby hashes to new-style. Post author By Keita Kobayashi Post date 2013-09-29 No Comments on Convert old-style Ruby hashes to new-style. Search: :([^s:@]+)s*=>s* Replace: 1: Share this:EmailFacebookTwitterPocketTelegramReddit Related Tags hash syntax, regex, ruby ← Marshal.dump and load with ActiveRecord → Snoopy Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Notify me of follow-up comments by email. Notify me of new posts by email. Δ This site uses Akismet to reduce spam. Learn how your comment data is processed.