Created
September 4, 2018 14:58
-
-
Save Shaglock/bb166a220e61d8d95b5a4ef753ac931d to your computer and use it in GitHub Desktop.
Regexp for replacing hash rocket syntax
This file contains hidden or 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
/([^:]|^):(\w+)\s?(\s*)=>\s?(\s*)/g, | |
"$1$2: $3$4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment