3 ms·
I assure you that people are still manipulating DOM with regexes.
by eli 11y ago
I 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]