4 ms·
Keep in mind at the time people were using regexs for tree structures like the DOM, and calculating time. Manipulating the DOM with regexs generally known to b
by nailer 11y ago
Keep in mind at the time people were using regexs for tree structures like the DOM, and calculating time.
Manipulating the DOM with regexs generally known to be impossible these days, and using regexs for time only happens on the Unix command line where there aren't better alternatives.
- eli 11y agoI assure you that people are still manipulating DOM with regexes.
- icelancer 11y agoTime for the classic bobince Stack Overflow post: http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags http://stackoverflow.com/questions/1732348/regex-match-open-...
- dansingerman 11y agoI know this is a famous meme, but why, in response, does no one mention that sizzle, the selector engine in jQuery is based on regexes? (https://github.com/jquery/sizzle/blob/master/src/sizzle.js https://github.com/jquery/sizzle/blob/master/src/sizzle.js) It suggests to me a very large proportion of DOM parsing code in existence uses regexes.
- tsotha 11y agoThat's one of my favorite pages in all the internet.
- deleted 11y ago[deleted]