joyent/node — pull request #8875 by misterdjules (2014-12-15 20:28:12+00:00)
Title: repl: make 'Unexpected token' errors recoverable

Fix the regexp used to detect 'Unexpected token' errors so that they can
be considered as recoverable. This fixes the following use case:

```
> var foo = 'bar \
... baz';
undefined
> foo
'bar baz'
>
```

Fixes #8874