TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

You can't parse [X]HTML with regex.

14 pointsby alexbosworthover 15 years ago

1 comment

nailerover 15 years ago
You could shorten this to 'regexs are for strings, xml is tree shaped'.<p>This is the reason etree is now a standard type in Python.