brilliant. does this spin up a heavy DOM implementation in the background or do something lighter such as regexp?
https://stackoverflow.com/questions/1732348/regex-match-open...
> While arbitrary HTML with only a regex is impossible, it's sometimes appropriate to use them for parsing a limited, known set of HTML.
But it’s not using a full browser to back it, which I suspect is what’s really being asked.