jashkenas/coffee-script — pull request #3218 by marchaefner (2013-10-23 22:51:17+00:00)
Title: Escapable linebreaks in heregexes

...as per discussion in #3214.

(Plus a pair of forgotten parentheses.)

#### Implementation Note

If the heregex has interpolations the compilation of escaped linebreaks and literal `\n` is slightly different (but semantically the same):

/// \n\
#{x} ///

compiles to:

RegExp("\\n\n" + x);