And a bug in the regex that mismatched if there was a number in the tag.