Hi Ed,
for performance reason I would definitely recommend you to actually
use regex instead of equals or equalsIgnoreCase methods of the String
class. Especially IE has really performance problems with former ones.
Concerning heavy, I would actually say that it is much cleaner to use
regex and more adaptable in case you would need in the future
HTH
Dominik