TemplateLiterals should normalize <CR> and <CR><LF> to <LF>

Fixes #1102
Fix scanner error with regular expressions

The scanner was failing to handle /=/ correctly.

Fixes #1105