René's URL Explorer Experiment


Title: readline: replace quadratic regex with linear one by Hakerh400 · Pull Request #26778 · nodejs/node · GitHub

Open Graph Title: readline: replace quadratic regex with linear one by Hakerh400 · Pull Request #26778 · nodejs/node

X Title: readline: replace quadratic regex with linear one by Hakerh400 · Pull Request #26778 · nodejs/node

Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.

Open Graph Description: Simplify regular expression in _wordLeft readline method. Note: If the test can be improved in any way, let me know. Tried using FakeInput, but writing one million characters takes a very long time...

X Description: Simplify regular expression in _wordLeft readline method. Note: If the test can be improved in any way, let me know. Tried using FakeInput, but writing one million characters takes a very long time...

Opengraph URL: https://github.com/nodejs/node/pull/26778

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:345073b6-44f3-58a1-6c0b-5b7b4d3a9912
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9DD6:512E3:3389EAE:47B8759:6A4F357B
html-safe-noncea555d1f4868c4f4e6617d5e91885d026c3c92732e66d6f5e51dcf7bb55fcc345
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REQ2OjUxMkUzOjMzODlFQUU6NDdCODc1OTo2QTRGMzU3QiIsInZpc2l0b3JfaWQiOiIzMzUxMDQ5NzUwODg3NDc4NjUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf4a22fd645c83c9c5ee913839f4ca73ea589aefa071eb9252d495acc3c3ba0f6
hovercard-subject-tagpull_request:262459100
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/26778/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b621dfcc9e267181a6145174b8766921fdfce335d10b5889fc70ec7516c037e6/nodejs/node/pull/26778
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b621dfcc9e267181a6145174b8766921fdfce335d10b5889fc70ec7516c037e6/nodejs/node/pull/26778
og:image:altSimplify regular expression in _wordLeft readline method. Note: If the test can be improved in any way, let me know. Tried using FakeInput, but writing one million characters takes a very long time...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameHakerh400
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-cache
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/26778#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F26778
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F26778
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/26778
Reloadhttps://github.com/nodejs/node/pull/26778
Reloadhttps://github.com/nodejs/node/pull/26778
Please reload this pagehttps://github.com/nodejs/node/pull/26778
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/26778
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 36k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 118k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.3k https://github.com/nodejs/node/issues
Pull requests 971 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Hakerh400https://github.com/Hakerh400
nodejs:masterhttps://github.com/nodejs/node/tree/master
Conversationhttps://github.com/nodejs/node/pull/26778
Commits1 (1)https://github.com/nodejs/node/pull/26778/commits
Checkshttps://github.com/nodejs/node/pull/26778/checks
Files changedhttps://github.com/nodejs/node/pull/26778/files
readline: replace quadratic regex with linear onehttps://github.com/nodejs/node/pull/26778#top
Hakerh400https://github.com/Hakerh400
nodejs:masterhttps://github.com/nodejs/node/tree/master
https://github.com/Hakerh400
Hakerh400https://github.com/Hakerh400
Mar 19, 2019https://github.com/nodejs/node/pull/26778#issue-422735796
#26596https://github.com/nodejs/node/issues/26596
commit guidelineshttps://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#commit-message-guidelines
Please reload this pagehttps://github.com/nodejs/node/pull/26778
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
readline https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Areadline
Mar 19, 2019https://github.com/nodejs/node/pull/26778#event-2213602988
https://github.com/sam-github
sam-githubhttps://github.com/sam-github
Mar 19, 2019https://github.com/nodejs/node/pull/26778#issuecomment-474500224
Please reload this pagehttps://github.com/nodejs/node/pull/26778
https://github.com/Hakerh400
Hakerh400https://github.com/Hakerh400
Mar 19, 2019https://github.com/nodejs/node/pull/26778#issuecomment-474587222
Please reload this pagehttps://github.com/nodejs/node/pull/26778
https://github.com/addaleax
addaleaxhttps://github.com/addaleax
Mar 19, 2019 https://github.com/nodejs/node/pull/26778#pullrequestreview-216424836
View reviewed changes https://github.com/nodejs/node/pull/26778/files
lib/readline.jshttps://github.com/nodejs/node/pull/26778/files#diff-36f855786dc2ab46536bcb72a1f08f98c9b730ffa5dcd9dcff2ff952d7ee5c50
Please reload this pagehttps://github.com/nodejs/node/pull/26778
https://github.com/Hakerh400
readline: replace quadratic regex with linear onehttps://github.com/nodejs/node/pull/26778/commits/0529d790d9cb01b8df0ff0b49a755540bb40562d
0529d79https://github.com/nodejs/node/pull/26778/commits/0529d790d9cb01b8df0ff0b49a755540bb40562d
https://github.com/BridgeAR
BridgeARhttps://github.com/BridgeAR
Mar 26, 2019 https://github.com/nodejs/node/pull/26778#pullrequestreview-218682584
View reviewed changes https://github.com/nodejs/node/pull/26778/files/0529d790d9cb01b8df0ff0b49a755540bb40562d
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Mar 26, 2019https://github.com/nodejs/node/pull/26778#issuecomment-476465168
https://ci.nodejs.org/job/node-test-pull-request/21902/https://ci.nodejs.org/job/node-test-pull-request/21902/
Please reload this pagehttps://github.com/nodejs/node/pull/26778
https://github.com/BridgeAR
BridgeARhttps://github.com/BridgeAR
author ready https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22author%20ready%22
Mar 27, 2019https://github.com/nodejs/node/pull/26778#event-2232680799
https://github.com/targos
targoshttps://github.com/targos
Mar 30, 2019 https://github.com/nodejs/node/pull/26778#pullrequestreview-220819435
View reviewed changes https://github.com/nodejs/node/pull/26778/files/0529d790d9cb01b8df0ff0b49a755540bb40562d
https://github.com/targos
targoshttps://github.com/targos
Mar 30, 2019https://github.com/nodejs/node/pull/26778#issuecomment-478241743
e4e2b0chttps://github.com/nodejs/node/commit/e4e2b0ce134ce781847272ae0b4bb889e75f223f
Please reload this pagehttps://github.com/nodejs/node/pull/26778
https://github.com/targos
targoshttps://github.com/targos
Mar 30, 2019https://github.com/nodejs/node/pull/26778#event-2241012067
targoshttps://github.com/targos
Mar 30, 2019 https://github.com/nodejs/node/pull/26778#ref-commit-e4e2b0c
https://github.com/Hakerh400
https://github.com/targos
readline: replace quadratic regex with linear onehttps://github.com/nodejs/node/commit/e4e2b0ce134ce781847272ae0b4bb889e75f223f
e4e2b0chttps://github.com/nodejs/node/commit/e4e2b0ce134ce781847272ae0b4bb889e75f223f
#26778https://github.com/nodejs/node/pull/26778
BethGriggshttps://github.com/BethGriggs
Apr 5, 2019 https://github.com/nodejs/node/pull/26778#ref-commit-b95aa2d
https://github.com/Hakerh400
https://github.com/BethGriggs
readline: replace quadratic regex with linear onehttps://github.com/nodejs/node/commit/b95aa2d7aa6a10e97bbe1913261c2ac71f9a1f4a
b95aa2dhttps://github.com/nodejs/node/commit/b95aa2d7aa6a10e97bbe1913261c2ac71f9a1f4a
#26778https://github.com/nodejs/node/pull/26778
BethGriggshttps://github.com/BethGriggs
Apr 9, 2019 https://github.com/nodejs/node/pull/26778#ref-commit-f54e5c6
https://github.com/Hakerh400
https://github.com/BethGriggs
readline: replace quadratic regex with linear onehttps://github.com/nodejs/node/commit/f54e5c618482c38a4cc4c6b3086a6d63c046e730
f54e5c6https://github.com/nodejs/node/commit/f54e5c618482c38a4cc4c6b3086a6d63c046e730
#26778https://github.com/nodejs/node/pull/26778
BethGriggshttps://github.com/BethGriggs
Apr 9, 2019 https://github.com/nodejs/node/pull/26778#ref-commit-78fad32
https://github.com/Hakerh400
https://github.com/BethGriggs
readline: replace quadratic regex with linear onehttps://github.com/nodejs/node/commit/78fad3210c83d47811c147f35678ffa751086fa4
78fad32https://github.com/nodejs/node/commit/78fad3210c83d47811c147f35678ffa751086fa4
#26778https://github.com/nodejs/node/pull/26778
https://github.com/BethGriggs
BethGriggshttps://github.com/BethGriggs
Apr 9, 2019 https://github.com/nodejs/node/pull/26778#ref-pullrequest-431232386
v11.14.0 proposal #27163 https://github.com/nodejs/node/pull/27163
https://github.com/Hakerh400
Hakerh400https://github.com/Hakerh400
May 1, 2019 15:48https://github.com/nodejs/node/pull/26778#event-2312157821
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F26778
https://github.com/addaleax
addaleax https://github.com/addaleax
https://github.com/nodejs/node/pull/26778/files/215ddedbfa7d848dc9a06d4fff2cd39f80c21934
https://github.com/targos
targos https://github.com/targos
https://github.com/nodejs/node/pull/26778/files/0529d790d9cb01b8df0ff0b49a755540bb40562d
https://github.com/BridgeAR
BridgeAR https://github.com/BridgeAR
https://github.com/nodejs/node/pull/26778/files/0529d790d9cb01b8df0ff0b49a755540bb40562d
author ready https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22author%20ready%22
readline https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Areadline
Please reload this pagehttps://github.com/nodejs/node/pull/26778
https://github.com/Hakerh400
https://github.com/sam-github
https://github.com/nodejs-github-bot
https://github.com/targos
https://github.com/addaleax
https://github.com/BridgeAR
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.