Thread: Regex examples
View Single Post
Old 01-12-2015, 04:11 PM   #464
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by JSWolf View Post
There is an empty span set. It's the span that does nothing. The other span does something so it's not empty. But regex will not recognize which </span> is the closing for empty span.
Perhaps the fundamental point of this particular question has escaped you. The OP is asking for something to find tags which do not enclose rendered text.

It is also worth pointing out that the span tag *can* be styled without attributes. Which would be the only reason to have an attributeless span tag anyway.
eschwartz is offline   Reply With Quote