No, that was an oversight on my part.  I've fixed the regex to match the beginning of the tag name (as well as fixed the indentation)