Last active
March 21, 2017 08:11
-
-
Save andraaspar/1d6e24f44de22a80f9a938d5f4b4dd38 to your computer and use it in GitHub Desktop.
RegEx for replacing quotes with backticks in ES6
This file contains 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
' | |
` | |
from `([^`]*)` | |
from '$1' | |
`([^`]*)`: | |
'$1': |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment