coffeescript-idea
coffeescript-idea copied to clipboard
Can't pass regex as argument unless brackets are used (which aren't actually required)
This doesn't work (but should) - that is, the coloring goes awry matches = storyText.match /{.?,.?}/g
This is the workaround (to add brackets) matches = storyText.match(/{.?,.?}/g)