Skip to content

Instantly share code, notes, and snippets.

@jhollingworth
Created July 11, 2011 13:54
Show Gist options
  • Save jhollingworth/1075892 to your computer and use it in GitHub Desktop.
Save jhollingworth/1075892 to your computer and use it in GitHub Desktop.
//this javascript works
"=foo".replace(/=/,'');
#but this coffeescript does not work (turns out due to a known issue https://github.com/jashkenas/coffee-script/issues/1399)
"=foo".replace(/=/,'')
#but as you say, this works
"=foo".replace(/\=/,'')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment