Caitlin Potter (2015-11-06T18:01:23.000Z)
caitpotter88 at gmail.com (2015-11-06T18:09:00.184Z)
(Repost from IRC discussion) Could do something like this: ```javascript let re = /```<linefeed> (\d{3}-)? # area code (opt) \d{3}- # exchange \d{4} # line number ```/; ``` It looks sort of heredoc-ish, which is nice, and it shouldn’t break existing parsing rules. ```js RegularExpressionLiteral: /``` LineTerminator RegularExpressionBody[SpacingAndComments] ```/ RegularExpressionFlags ``` This is a PrimaryExpression, and therefore should not be confused with TemplateLiterals, or MultiplicativeExpressions. And because of the required linefeed, should not break any existing RegularExpressionLiterals. Just throwing it out there as a possibility. The 3 backticks is a cute idea, but it probably doesn’t matter how it’s represented. It just looks very heredoc-ish, and distinct from TemplateLiterals.