Fixed regex to match beginning of tag name