Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Consider using document.createTreeWalker #1

Open
SimonSchick opened this issue Sep 4, 2019 · 3 comments
Open

Consider using document.createTreeWalker #1

SimonSchick opened this issue Sep 4, 2019 · 3 comments

Comments

@SimonSchick
Copy link

It's usually faster, also less code.

@ghuntley
Copy link
Owner

ghuntley commented Sep 4, 2019

👍 send in the pull-request and I'll get it shipped.

@chris-findlay
Copy link

Especially since when walking children you are skipping the first child...

@chris-findlay
Copy link

PS: /regex/i for case-insensitive matching, and you could use a match evaluator to preserve case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants