Answer the question
In order to leave comments, you need to log in
Is it possible to convert querySelectorAll to RegExp?
In many html parsers, and in js itself, you can get dom elements using the querySelectorAll function.
I'm going to parse a table from several sites. Through querySelectorAll, a simple string for parsing is obtained: tr[id^='vbpostrow_'] td:nth-child(4
) performance is higher.
Hence the question itself, is it possible to convert querySelectorAll to RegExp?
Answer the question
In order to leave comments, you need to log in
Is it possible to convert querySelectorAll to RegExp
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question