Corrected tag regular expression