derekchiang / Sublime-CoffeeScript-Formatter

A sublime plugin for formatting CoffeeScript
19 stars 1 forks source link

Formatter mangles regEx pattern #1

Closed LarryEitel closed 11 years ago

LarryEitel commented 11 years ago

For example:

bstr.replace /[()\s]+/g, ''

becomes:

bstr.replace / [() \s]+/g, ''

Looking for a fix or work around.

Thanks.

derekchiang commented 11 years ago

Oops forgot about regex. Will fix.

derekchiang commented 11 years ago

@LarryEitel It should be fixed. Give it a try.