3 ms·
Just guessing, but I think he means that when he types in http://news.ycombinator.com/comments?id=15250, http://news.ycombinator.com/comments?id=15250, it appea
by nostrademons 20y ago
Just guessing, but I think he means that when he types in http://news.ycombinator.com/comments?id=15250, http://news.ycombinator.com/comments?id=15250, it appears as a hyperlink, even though we don't explicitly add an anchor tag.
The rest of the title is baffling to me: Python can do regexps through the 're' module, there are Lisp regexp packages available, and I'd imagine news.YC uses one of those.
P.S. The hyperlink regexp seems to pick up trailing punctuation, like periods, commas, and parentheses. Any chance we can exclude them from the link target? I think several of my links have broken because of that.
- viralvid 20y agoWell i was saying the python re does it well and the pg lisp one seems to pick up any thing that goes behind link so was hoping he ll fix it