loading...

re: Writing a Node.js module in TypeScript VIEW POST

FULL DISCUSSION
 

There's an error in your regex string. It should be
var EMOJI_SHORTCODES = /:[a-zA-Z1-9_]+:/g;
You've forgotten the + at the end of the []

 

Ah it was dropped during the import from the other blog. Thank you!

Code of Conduct Report abuse