Skip to content

Instantly share code, notes, and snippets.

@ronny
Created November 8, 2010 05:20
Show Gist options
  • Save ronny/667413 to your computer and use it in GitHub Desktop.
Save ronny/667413 to your computer and use it in GitHub Desktop.
>> "en–em—“double”‘single’".tr('<>–—“”‘’', '()--""' + "''")
=> "en'',em''\"'''double''''''single'''"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment