Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse HTML with parser instead of RegExp #1

Closed
felixfbecker opened this issue Aug 30, 2016 · 0 comments
Closed

Parse HTML with parser instead of RegExp #1

felixfbecker opened this issue Aug 30, 2016 · 0 comments

Comments

@felixfbecker
Copy link
Owner

Currently a RegExp is used, which works for JSON and SQL, but not for languages where the tokens get nested like XML.

Could either use a basic HTML parser or construct a DOM and do a depth-first tree traversal to wrap the nodes.

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

No branches or pull requests

1 participant