3 ms·
Just to add to chillacy's answer, regular expression are a perfectly valid and reasonable tool to do what I understand the question author wanted to do. His pr
by marcosdumay 9y ago
Just to add to chillacy's answer, regular expression are a perfectly valid and reasonable tool to do what I understand the question author wanted to do.
His proposal was buggy (he misses a single situation), and I would use something more than pure regexes myself, but it's perfectly reasonable to use them to detect opening HTML tags.