Hacker News new | ask | show | jobs
by buerkle 4505 days ago
Of course regex is appropriate in some cases. You parse XML with a standard API, then use a regex on the contents of a single tag. For all we know, inside the tag could have been "img: foobar", regex works great in that case.