Unverified Commit e4e2b0ce authored by Thomas's avatar Thomas Committed by Michaël Zasso
Browse files

readline: replace quadratic regex with linear one

Simplify regular expression in _wordLeft and _deleteWordLeft readline
methods.

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


Reviewed-By: default avatarRuben Bridgewater <ruben@bridgewater.de>
Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
parent 83c35dc6
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