7 ms·
Exactly. Isn't this as bad an idea as trying to parse HTML with regular expressions? [1] [1]: http://stackoverflow.com/questions/1732348/regex-match-open-tags-
by 6cxs2hd6 12y ago
Exactly. Isn't this as bad an idea as trying to parse HTML with regular expressions? [1]
[1]: http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454 http://stackoverflow.com/questions/1732348/regex-match-open-...
- zAy0LfpBZLC8mAC 12y agoNo, it's not, URIs are regular, so using regular expressions is perfectly fine.
- 6cxs2hd6 12y agoGood point. You're right, it's not as bad an idea. (I still think it's not a great idea. Being regular isn't necessarily the same as being parseable with a maintainable regex.)