[thelist] [ColdFusion] More RegEx Fun

Joshua Olson joshua at waetech.com
Thu Feb 27 14:09:00 CST 2003

----- Original Message -----
From: ".jeff" <jeff at members.evolt.org>
Sent: Thursday, February 27, 2003 2:46 PM

> > http://concepts.waetech.com/unclosed_tags/

> the only thing i was hoping to catch that you didn't was a non-closing tag
> with a trailing slash without the optional leading space.  i know the
> leading space is optional, but without it some browsers hork badly.  so,
> like to catch <br/> as invalid and convert to <br />.  my guess is this
> likely need to be an entirely separate check though.


Change rule 9 to this:


The only difference is that the whitespace portion after the attribute pairs
has been removed.

That should catch what you are looking for.


More information about the thelist mailing list