Unverified Commit 9d493d00 authored by Teddy Katz's avatar Teddy Katz
Browse files

repl: avoid parsing division operator as regex

This improves the heuristic used in multiline-prompt mode to determine
whether a given slash character is at the beginning of a regular
expression.

PR-URL: https://github.com/nodejs/node/pull/10103


Reviewed-By: default avatarPrince John Wesley <princejohnwesley@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@keybase.io>
Fixes: https://github.com/nodejs/node/issues/9300
parent 7a23c0a8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment