Can anyone provide a regex that will identify any <prefix:tag...> which isn't 
followed by its own </prefix:tag>

Getting the initial tag is easy enough ( <prefix:([a-z_]+)[^>]*[^/]> ), but I 
can't think how to check for a lack of closing tag.


(This is just for a one-off check/fix, so if anyone knows of a tool/editor that 
can do this (for a little under two thousand files), without getting muddled up 
by CF tags, that would work too)


Thanks. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1074
Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21

Reply via email to