Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
scarface74
8y ago
0 comments
Save
Share
Is there ever a good reason to use regex to do a web scraper instead of using a proper prebuilt parser and walking the DOM?
0 comments
2 comments · 2 top-level
top
newest
oldest
bryanrasmussen
8y ago
regex is your hammer and you just by chance happen to have a really nail shaped task to do?
mercer
8y ago
Performance, perhaps?
j
/
k
navigate · click thread line to collapse