Unverified Commit 78fad321 authored by Thomas's avatar Thomas Committed by Beth Griggs
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>
Signed-off-by: default avatarBeth Griggs <Bethany.Griggs@uk.ibm.com>
parent e5181f8d
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